compositor: show the stage after we set the size

So that it is actually respected
This commit is contained in:
Giovanni Campagna 2014-07-01 20:26:06 +02:00
parent af135c0b0b
commit 8d08851f28

View File

@ -486,12 +486,12 @@ meta_compositor_manage (MetaCompositor *compositor)
MetaWaylandCompositor *wayland_compositor = meta_wayland_compositor_get_default (); MetaWaylandCompositor *wayland_compositor = meta_wayland_compositor_get_default ();
compositor->stage = meta_stage_new (); compositor->stage = meta_stage_new ();
clutter_actor_show (compositor->stage);
wayland_compositor->stage = compositor->stage; wayland_compositor->stage = compositor->stage;
meta_screen_get_size (screen, &width, &height); meta_screen_get_size (screen, &width, &height);
clutter_actor_set_size (compositor->stage, width, height); clutter_actor_set_size (compositor->stage, width, height);
clutter_actor_show (compositor->stage);
} }
else else
{ {