summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/input.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/input.c b/src/input.c
index ad89dbd..018761f 100644
--- a/src/input.c
+++ b/src/input.c
@@ -101,6 +101,12 @@ void input_handle_keypress(struct tofi *tofi, xkb_keycode_t keycode)
XKB_MOD_NAME_CTRL,
XKB_STATE_MODS_EFFECTIVE)
)
+ || (key == KEY_O
+ && xkb_state_mod_name_is_active(
+ tofi->xkb_state,
+ XKB_MOD_NAME_CTRL,
+ XKB_STATE_MODS_EFFECTIVE)
+ )
)
{
tofi->closed = true;