Don't propagate key events more than once
This fixes problems with dead keys used to type accented letters.
This commit is contained in:
parent
4a65fcca41
commit
fdf075513c
1 changed files with 1 additions and 1 deletions
|
@ -1789,7 +1789,7 @@ midori_browser_key_press_event (GtkWidget* widget,
|
||||||
if (sokoke_window_activate_key (window, event))
|
if (sokoke_window_activate_key (window, event))
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
||||||
if (gtk_window_propagate_key_event (window, event))
|
if (!event->state && gtk_window_propagate_key_event (window, event))
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
||||||
if (!(event->state & (GDK_CONTROL_MASK | GDK_MOD1_MASK)))
|
if (!(event->state & (GDK_CONTROL_MASK | GDK_MOD1_MASK)))
|
||||||
|
|
Loading…
Reference in a new issue