Permalink
Browse files

Don't grab focus when in plug mode (it messes with uzbl-tabbed focusing)

  • Loading branch information...
1 parent d02a41a commit 98056e6dfb47ccc7c06cfedbd6629a5299740251 @mason-larobina mason-larobina committed Mar 22, 2010
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/uzbl-core.c
View
@@ -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]);

0 comments on commit 98056e6

Please sign in to comment.