mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-24 06:59:45 -05:00
types/wlr_seat: finish keyboard_state during wlr_seat_destroy
(cherry picked from commit 0611c10909)
This commit is contained in:
parent
e0fe72ffdd
commit
de5e091996
1 changed files with 2 additions and 0 deletions
|
|
@ -179,6 +179,8 @@ void wlr_seat_destroy(struct wlr_seat *seat) {
|
||||||
wlr_seat_pointer_clear_focus(seat);
|
wlr_seat_pointer_clear_focus(seat);
|
||||||
wlr_seat_keyboard_clear_focus(seat);
|
wlr_seat_keyboard_clear_focus(seat);
|
||||||
|
|
||||||
|
wlr_seat_set_keyboard(seat, NULL);
|
||||||
|
|
||||||
struct wlr_touch_point *point;
|
struct wlr_touch_point *point;
|
||||||
wl_list_for_each(point, &seat->touch_state.touch_points, link) {
|
wl_list_for_each(point, &seat->touch_state.touch_points, link) {
|
||||||
wlr_seat_touch_point_clear_focus(seat, 0, point->touch_id);
|
wlr_seat_touch_point_clear_focus(seat, 0, point->touch_id);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue