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 13cab22..ee468cb 100644
--- a/src/events.c
+++ b/src/events.c
@@ -358,7 +358,7 @@ key_press (XEvent *ev)
if (!s) return;
- if (ks == KEY_PREFIX && (modifier == MODIFIER_PREFIX))
+ if (ks == prefix_key.sym && (modifier == prefix_key.state))
{
handle_key (s);
}