mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
vfb: set gamma size to avoid xrandr to complain about it missing
This commit is contained in:
committed by
Ignacio Casal
parent
492639f5e1
commit
82225aab81
@@ -833,6 +833,9 @@ vfbRandRInit(ScreenPtr pScreen)
|
||||
if (!crtc)
|
||||
return FALSE;
|
||||
|
||||
/* This is to avoid xrandr to complain about the gamma missing */
|
||||
RRCrtcGammaSetSize (crtc, 256);
|
||||
|
||||
output = RROutputCreate (pScreen, "screen", 6, NULL);
|
||||
if (!output)
|
||||
return FALSE;
|
||||
|
||||
Reference in New Issue
Block a user