From fdf075513caa9647c4f8dcba28a01382a38d138f Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Fri, 26 Mar 2010 20:45:15 +0100 Subject: [PATCH] Don't propagate key events more than once This fixes problems with dead keys used to type accented letters. --- midori/midori-browser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))) -- 2.39.5