[Xfce4-commits] <midori:master> Fixup the key value to allow Ctrl + Shift + Tab

Christian Dywan noreply at xfce.org
Tue Jan 12 23:36:02 CET 2010


Updating branch refs/heads/master
         to 4e561eeef35d5f1a3a17509eb9dee2a8da26bf4d (commit)
       from dab3505e0c99a2a275229fd1c1062c448e7e99ae (commit)

commit 4e561eeef35d5f1a3a17509eb9dee2a8da26bf4d
Author: André Stösel <Midori-Plugin at PyIT.de>
Date:   Tue Jan 12 23:28:02 2010 +0100

    Fixup the key value to allow Ctrl + Shift + Tab

 midori/sokoke.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/midori/sokoke.c b/midori/sokoke.c
index a9fba35..f0dceef 100644
--- a/midori/sokoke.c
+++ b/midori/sokoke.c
@@ -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 ()));



More information about the Xfce4-commits mailing list