aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominique Martinet <asmadeus@codewreck.org>2017-12-29 20:29:40 +0100
committerDominique Martinet <asmadeus@codewreck.org>2017-12-29 20:29:40 +0100
commitd7cefccaeeb1a48fec41649b5b1b6dc25095e4c8 (patch)
tree2b420fcc2a4cd51fb698ef7aff36defa0d2aaa54
parent689004ff211d4c20ad0b802af14add6a9a761362 (diff)
wlr_seat_destroy: emit seat itself as data on destroy event
-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);