wayland: Set GdkVisual::bits_per_rgb to 8

This was 0 before.
This commit is contained in:
Alexander Larsson 2014-10-09 11:04:51 +02:00 committed by Matthias Clasen
parent 87970ea2d0
commit 6717242d26

View File

@ -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;
}