]> spindle.queued.net Git - midori/commitdiff
Fixup the key value to allow Ctrl + Shift + Tab
authorAndré Stösel <Midori-Plugin@PyIT.de>
Tue, 12 Jan 2010 22:28:02 +0000 (23:28 +0100)
committerChristian Dywan <christian@twotoasts.de>
Tue, 12 Jan 2010 22:34:10 +0000 (23:34 +0100)
midori/sokoke.c

index a9fba3565c3e90e8e10b75fb8aa2f15ff2e1e7dc..f0dceef068d691d3f163a70aa10e1a1d30c70a38 100644 (file)
@@ -1546,6 +1546,10 @@ sokoke_window_activate_key (GtkWindow*   window,
     if (gtk_window_activate_key (window, event))
         return TRUE;
 
+    /* Hack to allow Ctrl + Shift + Tab */
+    if (event->keyval == 65056)
+        event->keyval = GDK_Tab;
+
     /* We don't use gtk_accel_groups_activate because it refuses to
         activate anything that gtk_accelerator_valid doesn't like. */
     accel_name = gtk_accelerator_name (event->keyval, (event->state & gtk_accelerator_get_default_mod_mask ()));