From: Christian Dywan Date: Mon, 18 May 2009 00:43:56 +0000 (+0200) Subject: Allow WebKit to catch key presses first X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7fc6c46c9a5bd6f8928641b70cea0b3a114f3ec4;p=midori Allow WebKit to catch key presses first If we connect to key presses after WebKit processes them this resolves the conflict between hotkeys and inline search. --- diff --git a/midori/midori-view.c b/midori/midori-view.c index 8097c3b5..dee622c4 100644 --- a/midori/midori-view.c +++ b/midori/midori-view.c @@ -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,