From 16ccf344deccbae53865b6efbe9dc23ebdceccb7 Mon Sep 17 00:00:00 2001 From: "Roberto E. Vargas Caballero" Date: Wed, 14 Nov 2012 11:14:29 +0100 Subject: 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(-) --- st.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'st.c') diff --git a/st.c b/st.c index ca4248a..932253c 100644 --- a/st.c +++ b/st.c @@ -2700,7 +2700,7 @@ kmap(KeySym k, uint state) { if(kp->k != k) continue; - if((state & mask) != mask || + if((state & mask) != mask && (mask == XK_NO_MOD && state)) { continue; } -- cgit v1.2.1