diff options
Diffstat (limited to 'backend')
-rw-r--r-- | backend/wayland/seat.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/backend/wayland/seat.c b/backend/wayland/seat.c index 261da909..c05591aa 100644 --- a/backend/wayland/seat.c +++ b/backend/wayland/seat.c @@ -259,7 +259,10 @@ void destroy_wl_seats(struct wlr_wl_backend *wl) { } if (seat->wl_keyboard) { wl_keyboard_release(seat->wl_keyboard); - wlr_keyboard_finish(&seat->wlr_keyboard); + + if (seat->backend->started) { + wlr_keyboard_finish(&seat->wlr_keyboard); + } } if (seat->zwp_tablet_seat_v2) { finish_seat_tablet(seat); |