mirror of
https://github.com/brl/mutter.git
synced 2025-07-09 20:27:15 +00:00
wayland: Explicitly destroy the surface actor
This shouldn't change anything right now, but it's better to be careful than anything else. This is where the actor should be destroyed.
This commit is contained in:
@ -620,7 +620,10 @@ wl_surface_destructor (struct wl_resource *resource)
|
||||
|
||||
surface_set_buffer (surface, NULL);
|
||||
double_buffered_state_destroy (&surface->pending);
|
||||
|
||||
clutter_actor_destroy (surface->surface_actor);
|
||||
g_object_unref (surface->surface_actor);
|
||||
|
||||
if (surface->resource)
|
||||
wl_resource_set_user_data (surface->resource, NULL);
|
||||
g_slice_free (MetaWaylandSurface, surface);
|
||||
|
Reference in New Issue
Block a user