aboutsummaryrefslogtreecommitdiff
path: root/x.c
diff options
context:
space:
mode:
Diffstat (limited to 'x.c')
-rw-r--r--x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/x.c b/x.c
index 9891e91..2fde2f7 100644
--- a/x.c
+++ b/x.c
@@ -1791,7 +1791,7 @@ focus(XEvent *ev)
int
match(uint mask, uint state)
{
- return mask == XK_ANY_MOD || mask == (state & ~ignoremod);
+ return mask == XK_ANY_MOD || mask == (state & ~(Mod2Mask | XK_SWITCH_MOD));
}
char*