aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--types/wlr_seat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/types/wlr_seat.c b/types/wlr_seat.c
index 40143723..f9e2db5f 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);