fix unhide shortcut

This commit is contained in:
Iris Lightshard 2020-02-29 13:05:10 -05:00
parent 53c10d5987
commit 704120b4d4
Signed by: Iris Lightshard
GPG key ID: 3B7FBC22144E6398

2
key.c
View file

@ -120,7 +120,7 @@ keypress(XKeyEvent *e)
delete(current, 0); delete(current, 0);
if (e->keycode == icode && (e->state&SHORTCUTMOD) == (MODBITS)) if (e->keycode == icode && (e->state&SHORTCUTMOD) == (MODBITS))
hide(current); hide(current);
if (e->keycode == icode && (e->state&SHORTCUTMOD) == (MODBITS)) if (e->keycode == ucode && (e->state&SHORTCUTMOD) == (MODBITS))
unhide(hidden[0]); unhide(hidden[0]);
if (e->keycode == vcode && (e->state&SHORTCUTMOD) == (MODBITS)) if (e->keycode == vcode && (e->state&SHORTCUTMOD) == (MODBITS))
move(current, Button3); move(current, Button3);