forked from AuroraMiddleware/gtk
wayland: Set GdkVisual::bits_per_rgb to 8
This was 0 before.
This commit is contained in:
parent
87970ea2d0
commit
6717242d26
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user