summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorDaniel Carl <danielcarl@gmx.de>2013-08-05 23:54:40 +0200
committerDaniel Carl <danielcarl@gmx.de>2013-08-05 23:54:40 +0200
commitff889cdf6d4159b9dfc0c2c639d58f7517da0f68 (patch)
treeca3d018e761afcacfa173e83a3a41433bd7640c7 /src/main.c
parentf1e44000419a69cd85ef7a25cf0ccf7552c128e4 (diff)
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.
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 0 insertions, 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();