From 7ff0b580d78ba9dfe07fd16ee6ae02c969b6d4ba Mon Sep 17 00:00:00 2001 From: NotANick Date: Sun, 9 Jul 2023 09:53:43 +0200 Subject: [PATCH] Fix C-[ acting as escape --- src/input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/input.c b/src/input.c index fe777f6..32726fc 100644 --- a/src/input.c +++ b/src/input.c @@ -82,7 +82,7 @@ void input_handle_keypress(struct tofi *tofi, xkb_keycode_t keycode) } else if (sym == XKB_KEY_Page_Down) { select_next_page(tofi); } else if (sym == XKB_KEY_Escape - || ((key == KEY_C || key == KEY_LEFTBRACE) && ctrl)) { + || ((key == KEY_C || sym == XKB_KEY_bracketleft) && ctrl)) { tofi->closed = true; return; } else if (sym == XKB_KEY_Return || sym == XKB_KEY_KP_Enter) {