]> spindle.queued.net Git - midori/commitdiff
Allow WebKit to catch key presses first
authorChristian Dywan <christian@twotoasts.de>
Mon, 18 May 2009 00:43:56 +0000 (02:43 +0200)
committerChristian Dywan <christian@twotoasts.de>
Mon, 18 May 2009 00:43:56 +0000 (02:43 +0200)
If we connect to key presses after WebKit processes them this
resolves the conflict between hotkeys and inline search.

midori/midori-view.c

index 8097c3b5fac98306772edd9ab99f92f3cd368a0f..dee622c4f0bc8b7b9a93134e4c23cf6d855ee9ed 100644 (file)
@@ -1951,7 +1951,7 @@ midori_view_construct_web_view (MidoriView* view)
                       webkit_web_view_hovering_over_link_cb, view,
                       "signal::button-press-event",
                       gtk_widget_button_press_event_cb, view,
-                      "signal::key-press-event",
+                      "signal-after::key-press-event",
                       gtk_widget_key_press_event_cb, view,
                       "signal::scroll-event",
                       gtk_widget_scroll_event_cb, view,