Files
rego-port-bot f916a0cdc7 input/keyboard: keep a seat keyboard while others remain
When the seat's current keyboard is destroyed, sway_keyboard_destroy()
sets the seat keyboard to NULL, even if other keyboards are still
attached to the seat. A common case is a virtual keyboard: wtype or an
on-screen keyboard types a key, which makes it the seat keyboard, and
then goes away. Until a key is pressed on another keyboard, a client
that binds wl_keyboard gets keyboard focus without any keymap event;
wev crashes in libxkbcommon.

Hand over to another keyboard of the seat instead: a keyboard group
first, then an ungrouped keyboard that has a keymap. The seat keyboard
only becomes NULL when no other keyboard is left.
2026-11-22 14:14:11 +01:00
..
2026-07-18 15:04:34 +02:00
2026-07-18 13:52:35 +02:00
2024-07-14 23:19:19 +02:00
2026-06-17 00:20:55 +02:00