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(-)
This commit is contained in:
parent
461aac159c
commit
16ccf344de
2 changed files with 2 additions and 2 deletions
2
st.c
2
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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue