mirror of
https://github.com/swaywm/sway.git
synced 2024-12-29 00:16:22 +01:00
sway/input: destroy sway_switch properly
Fix: #6861 Added seat_device_destroy function to seat_device_destroy function.
This commit is contained in:
parent
d6f279902a
commit
3444ce7302
1 changed files with 1 additions and 0 deletions
|
@ -42,6 +42,7 @@ static void seat_device_destroy(struct sway_seat_device *seat_device) {
|
|||
sway_keyboard_destroy(seat_device->keyboard);
|
||||
sway_tablet_destroy(seat_device->tablet);
|
||||
sway_tablet_pad_destroy(seat_device->tablet_pad);
|
||||
sway_switch_destroy(seat_device->switch_device);
|
||||
wlr_cursor_detach_input_device(seat_device->sway_seat->cursor->cursor,
|
||||
seat_device->input_device->wlr_device);
|
||||
wl_list_remove(&seat_device->link);
|
||||
|
|
Loading…
Reference in a new issue