[mutter/wayland] compositor: Initialize the plugin manager after initializing the output window
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/wayland] compositor: Initialize the plugin manager after initializing the output window
- Date: Tue, 19 Nov 2013 18:56:22 +0000 (UTC)
commit f6144082b1cd7a3da0389f714a47d3c508099f81
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Mon Nov 4 10:32:42 2013 -0500
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 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/compositor/compositor.c b/src/compositor/compositor.c
index 706650c..e7140c6 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.
*/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]