about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorMarco Peereboom <marco@conformal.com>2010-02-23 02:17:52 +0000
committerMarco Peereboom <marco@conformal.com>2010-02-23 02:17:52 +0000
commit5f50217e6bc7ee00f8817127dd2de7cf93ac8868 (patch)
tree2755c9f8ade781e0730d2d2d5a979705aaab1597
parent84e6974ef66e39f50abdc7f73ca875444f8be1bf (diff)
downloadxombrero-5f50217e6bc7ee00f8817127dd2de7cf93ac8868.tar.gz
give focus after activating search_entry
-rw-r--r--xxxterm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xxxterm.c b/xxxterm.c
index 49e8c55..04668ab 100644
--- a/xxxterm.c
+++ b/xxxterm.c
@@ -719,6 +719,7 @@ activate_search_entry_cb(GtkWidget* entry, struct tab *t)
 		err(1, "activate_search_entry_cb");
 
 	webkit_web_view_load_uri(t->wv, newuri);
+	gtk_widget_grab_focus(GTK_WIDGET(t->wv));
 
 	if (newuri)
 		free(newuri);