fix ZOOM_KEY ifdef
This commit is contained in:
parent
8fd2f10239
commit
34c6e5e027
1 changed files with 2 additions and 0 deletions
2
key.c
2
key.c
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue