mirror of
https://github.com/brl/mutter.git
synced 2024-11-11 00:26:40 -05:00
Revert "wayland: Explicitly destroy the surface actor"
This reverts commit 283a81eac0
.
This can't be done yet, as it will crash when we try to do a destroy
effect from a plugin. The surface actor needs to outlive the surface
in this case.
Though, the unparenting happening is wrong anyway for a destroy effect.
We need to figure out a sane way of doing this unparenting only after
all effects have finished.
This commit is contained in:
parent
7ef8d21e48
commit
f771bb88d6
@ -624,7 +624,6 @@ wl_surface_destructor (struct wl_resource *resource)
|
|||||||
surface_set_buffer (surface, NULL);
|
surface_set_buffer (surface, NULL);
|
||||||
double_buffered_state_destroy (&surface->pending);
|
double_buffered_state_destroy (&surface->pending);
|
||||||
|
|
||||||
clutter_actor_destroy (CLUTTER_ACTOR (surface->surface_actor));
|
|
||||||
g_object_unref (surface->surface_actor);
|
g_object_unref (surface->surface_actor);
|
||||||
|
|
||||||
if (surface->resource)
|
if (surface->resource)
|
||||||
|
Loading…
Reference in New Issue
Block a user