display: Destroy unmanaged compositor a bit later
This allows for things that want to get some state or manager objects (MetaLaters to be specific) a bit later in the tear down procedures. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2718>
This commit is contained in:
parent
e9cd2b60a6
commit
342c94076d
1 changed files with 2 additions and 2 deletions
|
@ -1177,14 +1177,14 @@ meta_display_close (MetaDisplay *display,
|
|||
/* Stop caring about events */
|
||||
meta_display_free_events (display);
|
||||
|
||||
g_clear_pointer (&display->compositor, meta_compositor_destroy);
|
||||
|
||||
meta_display_shutdown_x11 (display);
|
||||
|
||||
g_clear_object (&display->stack);
|
||||
g_clear_pointer (&display->stack_tracker,
|
||||
meta_stack_tracker_free);
|
||||
|
||||
g_clear_pointer (&display->compositor, meta_compositor_destroy);
|
||||
|
||||
/* Must be after all calls to meta_window_unmanage() since they
|
||||
* unregister windows
|
||||
*/
|
||||
|
|
Loading…
Add table
Reference in a new issue