Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

ui.backend.gtk: better gesture for shift tab #716

Closed
wants to merge 1 commit into from

2 participants

@jonenst

Shift tab is currently broken on my setup (default ubuntu 12.04): factor sends key down and key up gestures with no modifier and no sym (ie T{ key-down })

That's because
gdk emits ISO_Left_Tab for shift + tab.
With this patch, factor silently
transform that in "tab", so "shift tab" emits the following gesture:
T{ key-down { mods { S+ } } { sym "TAB" } }

@jonenst jonenst ui.backend.gtk: better gesture for shift tab
gdk emits ISO_Left_Tab for shift + tab. Not sure if factor should silently
transform that in tab..
With this patch, shift tabs emits the following gesture:
T{ key-down { mods { S+ } } { sym "TAB" } }
8ff5d1c
@mrjbq7
Collaborator

Fixed, thanks!

@mrjbq7 mrjbq7 closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Sep 29, 2012
  1. @jonenst

    ui.backend.gtk: better gesture for shift tab

    jonenst authored
    gdk emits ISO_Left_Tab for shift + tab. Not sure if factor should silently
    transform that in tab..
    With this patch, shift tabs emits the following gesture:
    T{ key-down { mods { S+ } } { sym "TAB" } }
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 0 deletions.
  1. +1 −0  basis/ui/backend/gtk/gtk.factor
View
1  basis/ui/backend/gtk/gtk.factor
@@ -113,6 +113,7 @@ CONSTANT: action-key-codes
H{
{ $ GDK_KEY_BackSpace "BACKSPACE" }
{ $ GDK_KEY_Tab "TAB" }
+ { $ GDK_KEY_ISO_Left_Tab "TAB" }
{ $ GDK_KEY_Return "RET" }
{ $ GDK_KEY_KP_Enter "ENTER" }
{ $ GDK_KEY_Escape "ESC" }
Something went wrong with that request. Please try again.