From ff889cdf6d4159b9dfc0c2c639d58f7517da0f68 Mon Sep 17 00:00:00 2001 From: Daniel Carl Date: Mon, 5 Aug 2013 23:54:40 +0200 Subject: [PATCH] Remove unneeded focus switching in inputbox_activate_cb. 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 | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main.c b/src/main.c index 5732823..09ba47c 100644 --- a/src/main.c +++ b/src/main.c @@ -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(); -- 2.20.1