|
|
@ -272,6 +272,7 @@ void wlr_output_destroy(struct wlr_output *output) {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
wlr_output_destroy_global(output);
|
|
|
|
wlr_output_destroy_global(output);
|
|
|
|
|
|
|
|
wlr_output_set_fullscreen_surface(output, NULL);
|
|
|
|
|
|
|
|
|
|
|
|
wl_signal_emit(&output->events.destroy, output);
|
|
|
|
wl_signal_emit(&output->events.destroy, output);
|
|
|
|
|
|
|
|
|
|
|
@ -281,6 +282,11 @@ void wlr_output_destroy(struct wlr_output *output) {
|
|
|
|
free(mode);
|
|
|
|
free(mode);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct wlr_output_cursor *cursor, *tmp_cursor;
|
|
|
|
|
|
|
|
wl_list_for_each_safe(cursor, tmp_cursor, &output->cursors, link) {
|
|
|
|
|
|
|
|
wlr_output_cursor_destroy(cursor);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (output->impl && output->impl->destroy) {
|
|
|
|
if (output->impl && output->impl->destroy) {
|
|
|
|
output->impl->destroy(output);
|
|
|
|
output->impl->destroy(output);
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|