aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDerek Stevens <nilix@nilfm.cc>2021-05-26 21:43:57 -0700
committerDerek Stevens <nilix@nilfm.cc>2021-05-26 21:43:57 -0700
commit34c6e5e02747e6213bd3b0b6d11ca5338fc458ff (patch)
tree3d394c2d5c7fe2217d889369ec07bfc7ba9ee890
parent8fd2f1023936fc28385cfb79e5b26b50c85e7345 (diff)
fix ZOOM_KEY ifdef
-rw-r--r--key.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/key.c b/key.c
index 90b69bf..da9be5b 100644
--- a/key.c
+++ b/key.c
@@ -455,6 +455,8 @@ void keypress(XKeyEvent* e) {
#ifdef STICK_KEY
else if (e->keycode == scode && (e->state & SHORTCUTMOD) == (MODBITS))
stick(current);
+#endif
+#ifdef ZOOM_KEY
else if (e->keycode == zcode && (e->state & SHORTCUTMOD) == (MODBITS))
zoom = !zoom;
#endif