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 /config.def.h | |
| 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 'config.def.h')
| -rw-r--r-- | config.def.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config.def.h b/config.def.h index 5d887fc..972285b 100644 --- a/config.def.h +++ b/config.def.h | |||
| @@ -141,7 +141,7 @@ static Key key[] = { | |||
| 141 | { XK_Right, ShiftMask, "\033[1;2C", 0, 0, 0}, | 141 | { XK_Right, ShiftMask, "\033[1;2C", 0, 0, 0}, |
| 142 | { XK_Right, ControlMask, "\033[1;5C", 0, 0, 0}, | 142 | { XK_Right, ControlMask, "\033[1;5C", 0, 0, 0}, |
| 143 | { XK_Right, Mod1Mask, "\033[1;3C", 0, 0, 0}, | 143 | { XK_Right, Mod1Mask, "\033[1;3C", 0, 0, 0}, |
| 144 | { XK_Tab, ShiftMask, "\033[Z", 0, 0, 0}, | 144 | { XK_ISO_Left_Tab, ShiftMask, "\033[Z", 0, 0, 0}, |
| 145 | { XK_Return, XK_NO_MOD, "\n", 0, 0, -1}, | 145 | { XK_Return, XK_NO_MOD, "\n", 0, 0, -1}, |
| 146 | { XK_Return, XK_NO_MOD, "\r\n", 0, 0, +1}, | 146 | { XK_Return, XK_NO_MOD, "\r\n", 0, 0, +1}, |
| 147 | { XK_Return, Mod1Mask, "\033\n", 0, 0, -1}, | 147 | { XK_Return, Mod1Mask, "\033\n", 0, 0, -1}, |
