diff options
author | Marco Peereboom <marco@conformal.com> | 2011-07-06 21:20:50 +0000 |
---|---|---|
committer | Marco Peereboom <marco@conformal.com> | 2011-07-06 21:20:50 +0000 |
commit | 276f34de14925bbcc3e369784f7ee29e8b196c00 (patch) | |
tree | 27458b0aa2b580326ec1069fe01e689f5f549d65 /xxxterm.c | |
parent | a9464b7ce3e2a4c2832bca23314001e7497abd62 (diff) | |
download | xombrero-276f34de14925bbcc3e369784f7ee29e8b196c00.tar.gz |
kill one more focus bug where one cant type while page is loading.
Diffstat (limited to 'xxxterm.c')
-rw-r--r-- | xxxterm.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/xxxterm.c b/xxxterm.c index d5c932d..4a6a837 100644 --- a/xxxterm.c +++ b/xxxterm.c @@ -5840,6 +5840,8 @@ notify_load_status_cb(WebKitWebView* wview, GParamSpec* pspec, struct tab *t) gtk_widget_set_sensitive(GTK_WIDGET(t->stop), TRUE); + /* take focus if we are visible */ + focus_webview(t); t->focus_wv = 1; break; @@ -5927,9 +5929,6 @@ notify_load_status_cb(WebKitWebView* wview, GParamSpec* pspec, struct tab *t) gtk_widget_set_sensitive(GTK_WIDGET(t->forward), webkit_web_view_can_go_forward(wview)); - - /* take focus if we are visible */ - focus_webview(t); } void |