JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
Ignore numlock (Mod2Mask) for button events too.
[st.git] / st.c
diff --git a/st.c b/st.c
index 50b58a7..12e1e1f 100644 (file)
--- a/st.c
+++ b/st.c
@@ -3579,7 +3579,6 @@ kpress(XEvent *ev) {
                return;
 
        len = XmbLookupString(xw.xic, e, buf, sizeof buf, &ksym, &status);
-       e->state &= ~Mod2Mask;
        /* 1. shortcuts */
        for(bp = shortcuts; bp < shortcuts + LEN(shortcuts); bp++) {
                if(ksym == bp->keysym && match(bp->mod, e->state)) {