window-actor/wayland: Move map method to a more appropriate place

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 ee7f13fd84
commit 2dbfc1c23d

View File

@ -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)
{