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
This commit is contained in:
parent
7e2a0ede16
commit
01d0316fd7
@ -45,8 +45,12 @@ dnd_surface_commit (MetaWaylandSurfaceRole *surface_role,
|
|||||||
{
|
{
|
||||||
MetaWaylandSurface *surface =
|
MetaWaylandSurface *surface =
|
||||||
meta_wayland_surface_role_get_surface (surface_role);
|
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);
|
meta_wayland_surface_queue_pending_state_frame_callbacks (surface, pending);
|
||||||
|
|
||||||
|
surface_role_class->commit (surface_role, pending);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
Reference in New Issue
Block a user