From f6144082b1cd7a3da0389f714a47d3c508099f81 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 706650c33..e7140c6f9 100644 --- a/src/compositor/compositor.c +++ b/src/compositor/compositor.c @@ -787,8 +787,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); - if (meta_is_wayland_compositor ()) { /* NB: When running as a wayland compositor we don't need an X @@ -825,6 +823,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. */