Do not use the default stage

https://bugzilla.gnome.org/show_bug.cgi?id=664028
This commit is contained in:
Jasper St. Pierre 2011-11-21 13:46:29 -05:00
parent bbbb0e6002
commit 264c555af0

View File

@ -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));