[gtk+] wayland: Set GdkVisual::bits_per_rgb to 8



commit 6717242d2606657af0d14e36102314e196a2d59e
Author: Alexander Larsson <alexl redhat com>
Date:   Thu Oct 9 11:04:51 2014 +0200

    wayland: Set GdkVisual::bits_per_rgb to 8
    
    This was 0 before.

 gdk/wayland/gdkscreen-wayland.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gdk/wayland/gdkscreen-wayland.c b/gdk/wayland/gdkscreen-wayland.c
index 1480228..096b2fe 100644
--- a/gdk/wayland/gdkscreen-wayland.c
+++ b/gdk/wayland/gdkscreen-wayland.c
@@ -911,6 +911,7 @@ gdk_wayland_visual_new (GdkScreen *screen)
   visual->screen = GDK_SCREEN (screen);
   visual->type = GDK_VISUAL_TRUE_COLOR;
   visual->depth = 32;
+  visual->bits_per_rgb = 8;
 
   return visual;
 }


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