[mutter/wip/wayland] wayland: Match stage size to output res not geometry



commit abb4f2d93d0e3bc56e70b90e1005e94ea950a4d5
Author: Robert Bragg <robert linux intel com>
Date:   Fri Jan 20 16:46:35 2012 +0000

    wayland: Match stage size to output res not geometry
    
    We were mistakenly using the output geometry in millimeters to set the
    Clutter stage size instead of using the output's resolution.

 src/wayland/meta-wayland.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/wayland/meta-wayland.c b/src/wayland/meta-wayland.c
index ded668d..dd6aaa6 100644
--- a/src/wayland/meta-wayland.c
+++ b/src/wayland/meta-wayland.c
@@ -526,7 +526,7 @@ meta_wayland_compositor_create_output (MetaWaylandCompositor *compositor,
    * correspond to a slice/CoglFramebuffer, but for now we only support
    * one output so we make sure it always matches the size of the stage
    */
-  clutter_actor_set_size (compositor->stage, width_mm, height_mm);
+  clutter_actor_set_size (compositor->stage, width, height);
 
   compositor->outputs = g_list_prepend (compositor->outputs, output);
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]