diff options
| author | Roberto E. Vargas Caballero <k0ga@shike2.com> | 2012-11-14 11:14:29 +0100 |
|---|---|---|
| committer | Roberto E. Vargas Caballero <k0ga@shike2.com> | 2012-11-14 11:14:29 +0100 |
| commit | 16ccf344deccbae53865b6efbe9dc23ebdceccb7 (patch) | |
| tree | 3e95e3b058dde899ff78675e8b85510366856a09 /st.c | |
| parent | Fixing the tab key, when no mask is wanted. (diff) | |
| download | st-16ccf344deccbae53865b6efbe9dc23ebdceccb7.tar.gz st-16ccf344deccbae53865b6efbe9dc23ebdceccb7.zip | |
Fix tab key
When Shift + Tab is pressed X server send the event XK_ISO_Left_Tab with
ShiftMask, so this is the entry we need in config.def.h
This patch also revert the previous patch for this issue because it breaks
the keyboard.
---
config.def.h | 2 +-
st.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
Diffstat (limited to '')
| -rw-r--r-- | st.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -2700,7 +2700,7 @@ kmap(KeySym k, uint state) { | |||
| 2700 | if(kp->k != k) | 2700 | if(kp->k != k) |
| 2701 | continue; | 2701 | continue; |
| 2702 | 2702 | ||
| 2703 | if((state & mask) != mask || | 2703 | if((state & mask) != mask && |
| 2704 | (mask == XK_NO_MOD && state)) { | 2704 | (mask == XK_NO_MOD && state)) { |
| 2705 | continue; | 2705 | continue; |
| 2706 | } | 2706 | } |
