From d7cefccaeeb1a48fec41649b5b1b6dc25095e4c8 Mon Sep 17 00:00:00 2001 From: Dominique Martinet Date: Fri, 29 Dec 2017 20:29:40 +0100 Subject: [PATCH] wlr_seat_destroy: emit seat itself as data on destroy event --- types/wlr_seat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);