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-23 00:41:19 +0800 |
commit | 98056e6dfb47ccc7c06cfedbd6629a5299740251 (patch) | |
tree | 7dd2bfccfcb95b3261e19fbd529b616f59eb1d74 /src/uzbl-core.c | |
parent | d02a41a27be753aad435cc2dc42e69fba4904f42 (diff) |
Don't grab focus when in plug mode (it messes with uzbl-tabbed focusing)
Diffstat (limited to 'src/uzbl-core.c')
-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 f14cb67..3de290e 100644 --- a/src/uzbl-core.c +++ b/src/uzbl-core.c @@ -2655,7 +2655,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]); |