diff options
author | Mason Larobina <mason.larobina@gmail.com> | 2010-03-22 10:57:48 +0800 |
---|---|---|
committer | Mason Larobina <mason.larobina@gmail.com> | 2010-03-22 10:57:48 +0800 |
commit | 1a6812e2ede05a2a6e1cf995df0f0f344acc45d8 (patch) | |
tree | d59e86530a2a546507fe9baf467f700cf9696bec /src | |
parent | 2f7e17fbf9b0f433041a9ade8f04c0936a36688d (diff) |
Don't grab focus when in plug mode (it messes with uzbl-tabbed focusing)
Diffstat (limited to 'src')
-rw-r--r-- | src/uzbl-core.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/uzbl-core.c b/src/uzbl-core.c index 453c99d..076a32e 100644 --- a/src/uzbl-core.c +++ b/src/uzbl-core.c @@ -2634,7 +2634,8 @@ main (int argc, char* argv[]) { /* generate an event with a list of built in commands */ builtins(); - gtk_widget_grab_focus (GTK_WIDGET (uzbl.gui.web_view)); + if (!uzbl.state.plug_mode) + gtk_widget_grab_focus (GTK_WIDGET (uzbl.gui.web_view)); if (uzbl.state.verbose) { printf("Uzbl start location: %s\n", argv[0]); |