input: kitty keyboard protocol and hex codepoint entry

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I0f58c82752b9d7a8df35fe78f034c0be6a6a6964
This commit is contained in:
raf 2026-06-25 15:00:39 +03:00
commit e04ffc6649
No known key found for this signature in database
GPG key ID: 29D95B64378DB4BF
8 changed files with 544 additions and 15 deletions

View file

@ -204,6 +204,9 @@ impl KeyboardHandler for App {
_: u32,
) {
self.focused = false;
// Drop held-key state so a key released while unfocused can't leak a
// stale kitty release event later.
self.keys_down.clear();
self.report_focus(false);
self.needs_draw = true;
}
@ -239,8 +242,9 @@ impl KeyboardHandler for App {
_: &QueueHandle<Self>,
_: &wl_keyboard::WlKeyboard,
_: u32,
_: KeyEvent,
event: KeyEvent,
) {
self.handle_key_release(&event);
}
fn update_modifiers(