fix ZOOM_KEY ifdef

This commit is contained in:
Iris Lightshard 2021-05-26 21:43:57 -07:00
parent 8fd2f10239
commit 34c6e5e027
Signed by: Iris Lightshard
GPG key ID: 3B7FBC22144E6398

2
key.c
View file

@ -455,6 +455,8 @@ void keypress(XKeyEvent* e) {
#ifdef STICK_KEY #ifdef STICK_KEY
else if (e->keycode == scode && (e->state & SHORTCUTMOD) == (MODBITS)) else if (e->keycode == scode && (e->state & SHORTCUTMOD) == (MODBITS))
stick(current); stick(current);
#endif
#ifdef ZOOM_KEY
else if (e->keycode == zcode && (e->state & SHORTCUTMOD) == (MODBITS)) else if (e->keycode == zcode && (e->state & SHORTCUTMOD) == (MODBITS))
zoom = !zoom; zoom = !zoom;
#endif #endif