HACK: switch X from 16bit to 24bit visual

This commit is contained in:
Harald Welte 2018-01-01 13:23:03 +01:00
parent 63eae6dd99
commit 670ee693dd
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ int lm_display_init(void)
hint.flags = PPosition | PSize;
/* Make the window */
if (!XMatchVisualInfo(display, screen, 16, TrueColor, &vinfo)) {
if (!XMatchVisualInfo(display, screen, 24, TrueColor, &vinfo)) {
printf("A 16 bit visual is need by this program\n");
return -1;
}