virtual-keyboard: handle seat destroy

We must make the virtual keyboard inert when the seat is destroyed.
This commit is contained in:
Isaac Freund 2026-03-17 09:51:50 +01:00
parent ec746d3e3e
commit 1fa8bb8f7a
No known key found for this signature in database
GPG key ID: 86DED400DDFD7A11
2 changed files with 31 additions and 14 deletions

View file

@ -33,6 +33,10 @@ struct wlr_virtual_keyboard_v1 {
bool has_keymap;
struct wl_list link; // wlr_virtual_keyboard_manager_v1.virtual_keyboards
struct {
struct wl_listener seat_destroy;
} WLR_PRIVATE;
};
struct wlr_virtual_keyboard_manager_v1* wlr_virtual_keyboard_manager_v1_create(