diff options
-rw-r--r-- | doc/tofi.1.md | 2 | ||||
-rw-r--r-- | doc/tofi.1.scd | 2 | ||||
-rw-r--r-- | src/input.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/doc/tofi.1.md b/doc/tofi.1.md index 5d7aaf8..925e59c 100644 --- a/doc/tofi.1.md +++ b/doc/tofi.1.md @@ -68,7 +68,7 @@ the form **--key=value**. > Confirm the current selection and quit. -\<Escape\> +\<Escape\> \| \<Ctrl\>-c \| \<Ctrl\>-\[ > Quit without making a selection. diff --git a/doc/tofi.1.scd b/doc/tofi.1.scd index 87bee2c..7096d98 100644 --- a/doc/tofi.1.scd +++ b/doc/tofi.1.scd @@ -59,7 +59,7 @@ All config file options described in *tofi*(5) are also accepted, in the form <Enter> Confirm the current selection and quit. -<Escape> | <Ctrl>-c | <Ctrl>-o +<Escape> | <Ctrl>-c | <Ctrl>-[ Quit without making a selection. # FILES diff --git a/src/input.c b/src/input.c index 018761f..573c5dd 100644 --- a/src/input.c +++ b/src/input.c @@ -101,7 +101,7 @@ void input_handle_keypress(struct tofi *tofi, xkb_keycode_t keycode) XKB_MOD_NAME_CTRL, XKB_STATE_MODS_EFFECTIVE) ) - || (key == KEY_O + || (key == KEY_LEFTBRACE && xkb_state_mod_name_is_active( tofi->xkb_state, XKB_MOD_NAME_CTRL, |