]> spindle.queued.net Git - midori/commitdiff
Handle = key for inline search in Ukrainian layout
authorChristian Dywan <christian@twotoasts.de>
Tue, 3 Jan 2012 21:12:30 +0000 (22:12 +0100)
committerChristian Dywan <christian@twotoasts.de>
Tue, 3 Jan 2012 21:12:30 +0000 (22:12 +0100)
Fixes: https://bugs.launchpad.net/midori/+bug/715082
midori/midori-view.c

index 7c19f7212e9a5f421ff14b89336f70c01d014ee2..c94f37ae3b91244f71032d8376cae421298bdc5a 100644 (file)
@@ -1829,7 +1829,7 @@ gtk_widget_key_press_event_cb (WebKitWebView* web_view,
     event->state = event->state & MIDORI_KEYS_MODIFIER_MASK;
 
     /* Handle oddities in Russian keyboard layouts */
-    if (event->hardware_keycode == ';')
+    if (event->hardware_keycode == ';' || event->hardware_keycode == '=')
         event->keyval = ',';
     else if (event->hardware_keycode == '<')
         event->keyval = '.';