wlr_seat_destroy: emit seat itself as data on destroy event

This commit is contained in:
Dominique Martinet 2017-12-29 20:29:40 +01:00
parent 689004ff21
commit d7cefccaee

View file

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