[mutter] Do not use the default stage
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] Do not use the default stage
- Date: Thu, 15 Dec 2011 21:06:15 +0000 (UTC)
commit 264c555af05724bb84dbd6b963b9d8aa12ee0814
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Mon Nov 21 13:46:29 2011 -0500
Do not use the default stage
https://bugzilla.gnome.org/show_bug.cgi?id=664028
src/compositor/compositor.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/compositor/compositor.c b/src/compositor/compositor.c
index a185657..468667f 100644
--- a/src/compositor/compositor.c
+++ b/src/compositor/compositor.c
@@ -515,10 +515,11 @@ meta_compositor_manage_screen (MetaCompositor *compositor,
meta_screen_set_cm_selection (screen);
- info->stage = clutter_stage_get_default ();
+ info->stage = clutter_stage_new ();
meta_screen_get_size (screen, &width, &height);
clutter_actor_set_size (info->stage, width, height);
+ clutter_actor_realize (info->stage);
xwin = clutter_x11_get_stage_window (CLUTTER_STAGE (info->stage));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]