mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-17 22:05:22 -05:00
input: reset XKB compose state on keyboard leave
This commit is contained in:
parent
493a7a3202
commit
c645a4b180
1 changed files with 1 additions and 0 deletions
1
input.c
1
input.c
|
|
@ -155,6 +155,7 @@ keyboard_leave(void *data, struct wl_keyboard *wl_keyboard, uint32_t serial,
|
|||
wayl->kbd.alt = false;;
|
||||
wayl->kbd.ctrl = false;;
|
||||
wayl->kbd.meta = false;;
|
||||
xkb_compose_state_reset(wayl->kbd.xkb_compose_state);
|
||||
|
||||
if (old_focused != NULL) {
|
||||
term_kbd_focus_out(old_focused);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue