diff --git a/src/compositor/meta-window-actor.c b/src/compositor/meta-window-actor.c index 12995e567..c86d554bc 100644 --- a/src/compositor/meta-window-actor.c +++ b/src/compositor/meta-window-actor.c @@ -427,6 +427,9 @@ meta_window_actor_constructed (GObject *object) priv->compositor = window->display->compositor; + /* Hang our compositor window state off the MetaWindow for fast retrieval */ + meta_window_set_compositor_private (window, object); + meta_window_actor_update_surface (self); meta_window_actor_update_opacity (self); @@ -443,9 +446,6 @@ meta_window_actor_constructed (GObject *object) priv->first_frame_state = DRAWING_FIRST_FRAME; meta_window_actor_sync_actor_geometry (self, priv->window->placed); - - /* Hang our compositor window state off the MetaWindow for fast retrieval */ - meta_window_set_compositor_private (window, object); } static void