aboutsummaryrefslogtreecommitdiff
path: root/input.c
diff options
context:
space:
mode:
Diffstat (limited to 'input.c')
-rw-r--r--input.c2
1 files changed, 1 insertions, 1 deletions
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? */