diff --git a/types/wlr_seat.c b/types/wlr_seat.c index 40143723c..f9e2db5f0 100644 --- a/types/wlr_seat.c +++ b/types/wlr_seat.c @@ -348,7 +348,7 @@ void wlr_seat_destroy(struct wlr_seat *wlr_seat) { return; } - wl_signal_emit(&wlr_seat->events.destroy, NULL); + wl_signal_emit(&wlr_seat->events.destroy, wlr_seat); wl_list_remove(&wlr_seat->display_destroy.link);