From 5d94b02a03877adf85f4e4f721d4f1adaece5397 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Sun, 28 Nov 2021 19:20:37 +0100 Subject: input: kitty: treat repeating == pressed when report-events is off --- input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'input.c') diff --git a/input.c b/input.c index f7b0e23c..1b660741 100644 --- a/input.c +++ b/input.c @@ -1151,7 +1151,7 @@ kitty_kbd_protocol(struct seat *seat, struct terminal *term, const bool disambiguate = flags & KITTY_KBD_DISAMBIGUATE; const bool report_events = flags & KITTY_KBD_REPORT_EVENT; - if (!report_events && !pressed) + if (!report_events && released) return false; /* TODO: should we even bother with this, or just say it’s not supported? */ -- cgit v1.3