mirror of
https://github.com/brl/mutter.git
synced 2024-12-27 05:12:15 +00:00
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:
parent
ee7f13fd84
commit
2dbfc1c23d
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user