wlr_seat_destroy: emit seat itself as data on destroy event

master
Dominique Martinet 7 years ago
parent 689004ff21
commit d7cefccaee

@ -348,7 +348,7 @@ void wlr_seat_destroy(struct wlr_seat *wlr_seat) {
return; 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); wl_list_remove(&wlr_seat->display_destroy.link);

Loading…
Cancel
Save