From 9e036bfd23033a70ff7e16efee7c184f38b72cc4 Mon Sep 17 00:00:00 2001 From: Sebastian Wick Date: Fri, 17 Nov 2023 16:57:28 +0100 Subject: [PATCH] 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: --- src/compositor/meta-window-actor-wayland.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/compositor/meta-window-actor-wayland.c b/src/compositor/meta-window-actor-wayland.c index 6702b7bb5..3a97d5995 100644 --- a/src/compositor/meta-window-actor-wayland.c +++ b/src/compositor/meta-window-actor-wayland.c @@ -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