diff --git a/src/wayland/meta-wayland-surface.c b/src/wayland/meta-wayland-surface.c index 465b67619..8dbf3a750 100644 --- a/src/wayland/meta-wayland-surface.c +++ b/src/wayland/meta-wayland-surface.c @@ -625,12 +625,13 @@ meta_wayland_surface_state_merge_into (MetaWaylandSurfaceState *from, to->subsurface_placement_ops = g_slist_concat (to->subsurface_placement_ops, from->subsurface_placement_ops); - from->subsurface_placement_ops = NULL; } else { to->subsurface_placement_ops = from->subsurface_placement_ops; } + + from->subsurface_placement_ops = NULL; } wl_list_insert_list (&to->presentation_feedback_list,