--- config.def.h | 2 +- st.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config.def.h b/config.def.h index 5d887fc..972285b 100644 --- a/config.def.h +++ b/config.def.h _AT_@ -141,7 +141,7 @@ static Key key[] = { { XK_Right, ShiftMask, "\033[1;2C", 0, 0, 0}, { XK_Right, ControlMask, "\033[1;5C", 0, 0, 0}, { XK_Right, Mod1Mask, "\033[1;3C", 0, 0, 0}, - { XK_Tab, ShiftMask, "\033[Z", 0, 0, 0}, + { XK_ISO_Left_Tab, ShiftMask, "\033[Z", 0, 0, 0}, { XK_Return, XK_NO_MOD, "\n", 0, 0, -1}, { XK_Return, XK_NO_MOD, "\r\n", 0, 0, +1}, { XK_Return, Mod1Mask, "\033\n", 0, 0, -1}, diff --git a/st.c b/st.c index ca4248a..932253c 100644 --- a/st.c +++ b/st.c _AT_@ -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; } -- 1.7.10.4 --zhXaljGHf11kAtnf Content-Type: text/x-diff; charset=utf-8 Content-Disposition: attachment; filename="0002-Fix-XK_NO_MOD-and-XK_ANY_MOD-behavior.patch"Received on Mon Sep 17 2001 - 00:00:00 CEST
This archive was generated by hypermail 2.3.0 : Thu Nov 15 2012 - 15:24:02 CET