From: Christian Dywan Date: Fri, 26 Mar 2010 19:45:15 +0000 (+0100) Subject: Don't propagate key events more than once X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fdf075513caa9647c4f8dcba28a01382a38d138f;p=midori Don't propagate key events more than once This fixes problems with dead keys used to type accented letters. --- diff --git a/midori/midori-browser.c b/midori/midori-browser.c index 68f65899..2e2c4c0d 100644 --- a/midori/midori-browser.c +++ b/midori/midori-browser.c @@ -1789,7 +1789,7 @@ midori_browser_key_press_event (GtkWidget* widget, if (sokoke_window_activate_key (window, event)) return TRUE; - if (gtk_window_propagate_key_event (window, event)) + if (!event->state && gtk_window_propagate_key_event (window, event)) return TRUE; if (!(event->state & (GDK_CONTROL_MASK | GDK_MOD1_MASK)))