mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-03-18 05:34:29 -04:00
virtual-keyboard: handle seat destroy
We must make the virtual keyboard inert when the seat is destroyed.
This commit is contained in:
parent
ec746d3e3e
commit
1fa8bb8f7a
2 changed files with 31 additions and 14 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue