Commit ca318c15 authored by Jonas Ådahl's avatar Jonas Ådahl

wayland/actor-surface: Pass actor surface to actor destroy handler

Correct silly mistake where the MetaWaylandSurface was passed as the
user_data of the surface actor destroy signal handler, instead of the
expected MetaWaylandActorSurface.

Fixes: GNOME/mutter#844
parent cbb4f6c8
Pipeline #120685 passed with stages
in 5 minutes and 3 seconds
......@@ -339,7 +339,7 @@ meta_wayland_actor_surface_reset_actor (MetaWaylandActorSurface *actor_surface)
priv->actor_destroyed_handler_id =
g_signal_connect (priv->actor, "destroy",
G_CALLBACK (on_actor_destroyed),
surface);
actor_surface);
g_signal_connect_swapped (priv->actor, "notify::allocation",
G_CALLBACK (meta_wayland_surface_notify_geometry_changed),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment