summaryrefslogtreecommitdiff
path: root/src/events.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/events.c')
-rw-r--r--src/events.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/events.c b/src/events.c
index 99788b9..78c12f9 100644
--- a/src/events.c
+++ b/src/events.c
@@ -310,7 +310,7 @@ key_press (XEvent *ev)
if (!s) return;
- if (ks == KEY_PREFIX && (modifier & MODIFIER_PREFIX))
+ if (ks == KEY_PREFIX && (modifier == MODIFIER_PREFIX))
{
handle_key (s);
}