Blame SOURCES/0002-wayland-dnd-surface-Propagate-commit-to-parent-class.patch

4bb951
From f37ef55525777f742051cb988341fa1bab403666 Mon Sep 17 00:00:00 2001
4bb951
From: Robert Mader <robert.mader@posteo.de>
4bb951
Date: Mon, 15 Apr 2019 02:02:10 +0200
4bb951
Subject: [PATCH 2/2] wayland/dnd-surface: Propagate commit to parent class
4bb951
4bb951
We need to call the underlying actor-surface so the actor
4bb951
state is synced, otherwise surface state like the scale factor
4bb951
does not get applied.
4bb951
4bb951
Fixes https://gitlab.gnome.org/GNOME/mutter/issues/550
4bb951
4bb951
https://gitlab.gnome.org/GNOME/mutter/merge_requests/537
4bb951
(cherry picked from commit 01d0316fd703872a2470a351f906ffa4605a647e)
4bb951
---
4bb951
 src/wayland/meta-wayland-dnd-surface.c | 4 ++++
4bb951
 1 file changed, 4 insertions(+)
4bb951
4bb951
diff --git a/src/wayland/meta-wayland-dnd-surface.c b/src/wayland/meta-wayland-dnd-surface.c
4bb951
index 8ddeb2a7bd..7aa7e3be2f 100644
4bb951
--- a/src/wayland/meta-wayland-dnd-surface.c
4bb951
+++ b/src/wayland/meta-wayland-dnd-surface.c
4bb951
@@ -51,9 +51,13 @@ dnd_surface_commit (MetaWaylandSurfaceRole  *surface_role,
4bb951
 {
4bb951
   MetaWaylandSurface *surface =
4bb951
     meta_wayland_surface_role_get_surface (surface_role);
4bb951
+  MetaWaylandSurfaceRoleClass *surface_role_class =
4bb951
+    META_WAYLAND_SURFACE_ROLE_CLASS (meta_wayland_surface_role_dnd_parent_class);
4bb951
 
4bb951
   meta_wayland_compositor_add_frame_callback_surface (surface->compositor,
4bb951
                                                       surface);
4bb951
+
4bb951
+  surface_role_class->commit (surface_role, pending);
4bb951
 }
4bb951
 
4bb951
 static void
4bb951
-- 
4bb951
2.31.1
4bb951