[mutter] compositor: show the stage after we set the size
- From: Giovanni Campagna <gcampagna src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] compositor: show the stage after we set the size
- Date: Tue, 1 Jul 2014 18:27:51 +0000 (UTC)
commit 8d08851f28bdae9773cf238756bf857d2e4d2b35
Author: Giovanni Campagna <gcampagna src gnome org>
Date: Tue Jul 1 20:26:06 2014 +0200
compositor: show the stage after we set the size
So that it is actually respected
src/compositor/compositor.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/compositor/compositor.c b/src/compositor/compositor.c
index 88a2016..e999ca6 100644
--- a/src/compositor/compositor.c
+++ b/src/compositor/compositor.c
@@ -486,12 +486,12 @@ meta_compositor_manage (MetaCompositor *compositor)
MetaWaylandCompositor *wayland_compositor = meta_wayland_compositor_get_default ();
compositor->stage = meta_stage_new ();
- clutter_actor_show (compositor->stage);
wayland_compositor->stage = compositor->stage;
meta_screen_get_size (screen, &width, &height);
clutter_actor_set_size (compositor->stage, width, height);
+ clutter_actor_show (compositor->stage);
}
else
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]