From e72af50420f5b408665b7015c65a570f167b991a Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Mon, 4 Nov 2013 10:32:42 -0500 Subject: [PATCH] compositor: Initialize the plugin manager after initializing the output window Plugins like gnome-shell may want to grab the output window immediately before bouncing back to the mainloop. --- src/compositor/compositor.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/compositor/compositor.c b/src/compositor/compositor.c index 71497e155..4f279395b 100644 --- a/src/compositor/compositor.c +++ b/src/compositor/compositor.c @@ -685,8 +685,6 @@ meta_compositor_manage_screen (MetaCompositor *compositor, clutter_actor_add_child (info->stage, info->window_group); clutter_actor_add_child (info->stage, info->top_window_group); - info->plugin_mgr = meta_plugin_manager_new (screen); - /* * Delay the creation of the overlay window as long as we can, to avoid * blanking out the screen. This means that during the plugin loading, the @@ -714,6 +712,8 @@ meta_compositor_manage_screen (MetaCompositor *compositor, info->pending_input_region = None; } + info->plugin_mgr = meta_plugin_manager_new (screen); + /* Map overlay window before redirecting windows offscreen so we catch their * contents until we show the stage. */