window-actor/wayland: Map the window before trying to sync geometry

We need to chain up to the parent class to make sure the
WindowActorWayland is actually mapped which is required for the
sync_geometry_internal function to succeed.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3404>
This commit is contained in:
Sebastian Wick 2023-11-17 16:57:28 +01:00 committed by Marge Bot
parent 2dbfc1c23d
commit 9e036bfd23

View File

@ -592,9 +592,9 @@ meta_window_actor_wayland_map (ClutterActor *actor)
ClutterActorClass *parent_class =
CLUTTER_ACTOR_CLASS (meta_window_actor_wayland_parent_class);
do_sync_geometry (self);
parent_class->map (actor);
do_sync_geometry (self);
}
static void