[mutter/wip/wayland] meta-wayland: Don't set the stage color to red



commit dfa9d6d7cf07581f7ee16ff4e69b327ba1b57ca8
Author: Robert Bragg <robert linux intel com>
Date:   Wed Jan 11 01:15:01 2012 +0000

    meta-wayland: Don't set the stage color to red
    
    This was previously done to help highlight blending artefacts but since
    they have been fixed now this isn't necessary.

 src/wayland/meta-wayland.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/src/wayland/meta-wayland.c b/src/wayland/meta-wayland.c
index 8957731..f7104be 100644
--- a/src/wayland/meta-wayland.c
+++ b/src/wayland/meta-wayland.c
@@ -990,7 +990,6 @@ void
 meta_wayland_init (void)
 {
   MetaWaylandCompositor *compositor = &_meta_wayland_compositor;
-  ClutterColor stage_color;
 
   memset (compositor, 0, sizeof (MetaWaylandCompositor));
 
@@ -1023,11 +1022,6 @@ meta_wayland_init (void)
     g_error ("Failed to initialize Clutter");
 
   compositor->stage = clutter_stage_new ();
-  stage_color.red = 0xff;
-  stage_color.green = 0;
-  stage_color.blue = 0;
-  stage_color.alpha = 0xff;
-  clutter_stage_set_color (compositor->stage, &stage_color);
   clutter_stage_set_user_resizable (CLUTTER_STAGE (compositor->stage), FALSE);
   g_signal_connect_after (compositor->stage, "paint",
                           G_CALLBACK (paint_finished_cb), compositor);



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