seat: Don't finish wlr_keyboard if server was never started

master
Alexander Orzechowski 3 years ago committed by Simon Zeni
parent 640f3b9f21
commit 2ce0305483

@ -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);

Loading…
Cancel
Save