From 297c886b72f4e9093973aaa14b66d392f6196634 Mon Sep 17 00:00:00 2001 From: Mark Edgar Date: Sun, 22 Sep 2013 00:07:49 +0200 Subject: Ignore numlock (Mod2Mask) for button events too. Conflicts: config.def.h st.c --- st.c | 1 - 1 file changed, 1 deletion(-) (limited to 'st.c') diff --git a/st.c b/st.c index 50b58a7..12e1e1f 100644 --- 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)) { -- cgit v1.2.3-13-gbd6f