mirror of
https://github.com/brl/mutter.git
synced 2024-11-10 16:16:20 -05: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:
parent
2a145262c7
commit
283a81eac0
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user