diff options
author | Robert Mader <robert.mader@posteo.de> | 2019-04-15 02:02:10 +0200 |
---|---|---|
committer | Jonas Ã…dahl <jadahl@gmail.com> | 2019-05-09 09:06:52 +0000 |
commit | 01d0316fd703872a2470a351f906ffa4605a647e (patch) | |
tree | acb4b488421bbabdc81d0bea79bd6959ba6b013c /src | |
parent | 7e2a0ede16bed5671fe55d3d81ccc9f82eebd94b (diff) | |
download | mutter-01d0316fd703872a2470a351f906ffa4605a647e.tar.gz |
wayland/dnd-surface: Propagate commit to parent class
We need to call the underlying actor-surface so the actor
state is synced, otherwise surface state like the scale factor
does not get applied.
Fixes https://gitlab.gnome.org/GNOME/mutter/issues/550
https://gitlab.gnome.org/GNOME/mutter/merge_requests/537
Diffstat (limited to 'src')
-rw-r--r-- | src/wayland/meta-wayland-dnd-surface.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wayland/meta-wayland-dnd-surface.c b/src/wayland/meta-wayland-dnd-surface.c index 2aad6dcd5..ae60f53e8 100644 --- a/src/wayland/meta-wayland-dnd-surface.c +++ b/src/wayland/meta-wayland-dnd-surface.c @@ -45,8 +45,12 @@ dnd_surface_commit (MetaWaylandSurfaceRole *surface_role, { MetaWaylandSurface *surface = meta_wayland_surface_role_get_surface (surface_role); + MetaWaylandSurfaceRoleClass *surface_role_class = + META_WAYLAND_SURFACE_ROLE_CLASS (meta_wayland_surface_role_dnd_parent_class); meta_wayland_surface_queue_pending_state_frame_callbacks (surface, pending); + + surface_role_class->commit (surface_role, pending); } static void |