mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-18 06:47:31 -04:00
Merge branch 'output-destroy-surface-leave' into 'master'
wlr_compositor: Send leave event when output is destroyed Closes #3559 See merge request wlroots/wlroots!3960
This commit is contained in:
commit
519202b0b1
2 changed files with 17 additions and 10 deletions
|
|
@ -451,12 +451,13 @@ void wlr_output_destroy(struct wlr_output *output) {
|
|||
}
|
||||
|
||||
wl_list_remove(&output->display_destroy.link);
|
||||
wlr_output_destroy_global(output);
|
||||
output_clear_back_buffer(output);
|
||||
|
||||
wl_signal_emit_mutable(&output->events.destroy, output);
|
||||
wlr_addon_set_finish(&output->addons);
|
||||
|
||||
wlr_output_destroy_global(output);
|
||||
|
||||
// The backend is responsible for free-ing the list of modes
|
||||
|
||||
struct wlr_output_cursor *cursor, *tmp_cursor;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue