mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-01-03 09:20:19 +01:00
vfb: set gamma size to avoid xrandr to complain about it missing
This commit is contained in:
parent
492639f5e1
commit
82225aab81
1 changed files with 3 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue