From 2dbfc1c23d7eca1aae2d2cb875ebf620233258ae Mon Sep 17 00:00:00 2001 From: Sebastian Wick Date: Fri, 17 Nov 2023 16:57:28 +0100 Subject: [PATCH] window-actor/wayland: Move map method to a more appropriate place Part-of: --- src/compositor/meta-window-actor-wayland.c | 24 +++++++++++----------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/compositor/meta-window-actor-wayland.c b/src/compositor/meta-window-actor-wayland.c index 999b41c9b..6702b7bb5 100644 --- a/src/compositor/meta-window-actor-wayland.c +++ b/src/compositor/meta-window-actor-wayland.c @@ -585,6 +585,18 @@ meta_window_actor_wayland_sync_geometry (MetaWindowActor *actor) do_sync_geometry (self); } +static void +meta_window_actor_wayland_map (ClutterActor *actor) +{ + MetaWindowActorWayland *self = META_WINDOW_ACTOR_WAYLAND (actor); + ClutterActorClass *parent_class = + CLUTTER_ACTOR_CLASS (meta_window_actor_wayland_parent_class); + + do_sync_geometry (self); + + parent_class->map (actor); +} + static void meta_window_actor_wayland_dispose (GObject *object) { @@ -613,18 +625,6 @@ meta_window_actor_wayland_constructed (GObject *object) self->surface_container); } -static void -meta_window_actor_wayland_map (ClutterActor *actor) -{ - MetaWindowActorWayland *self = META_WINDOW_ACTOR_WAYLAND (actor); - ClutterActorClass *parent_class = - CLUTTER_ACTOR_CLASS (meta_window_actor_wayland_parent_class); - - do_sync_geometry (self); - - parent_class->map (actor); -} - static void meta_window_actor_wayland_class_init (MetaWindowActorWaylandClass *klass) {