Remove unneeded focus switching in inputbox_activate_cb.
authorDaniel Carl <danielcarl@gmx.de>
Mon, 5 Aug 2013 21:54:40 +0000 (23:54 +0200)
committerDaniel Carl <danielcarl@gmx.de>
Mon, 5 Aug 2013 21:54:40 +0000 (23:54 +0200)
I don't know why I've added this, but at the moment I can't find any reason or
use case where this might be required. Instead this make the ':input' command
called from inputbox hard to use, because the focus is removed from inputbox.

src/main.c

index 5732823..09ba47c 100644 (file)
@@ -502,8 +502,6 @@ static void inputbox_activate_cb(GtkEntry *entry)
         return;
     }
 
-    gtk_widget_grab_focus(GTK_WIDGET(vb.gui.webview));
-
     /* do not free or modify text */
     text = GET_TEXT();