From 82225aab81d581e943c67c679695a1d15757d69d Mon Sep 17 00:00:00 2001 From: Ignacio Casal Quinteiro Date: Wed, 17 Jul 2019 14:45:46 +0200 Subject: [PATCH] vfb: set gamma size to avoid xrandr to complain about it missing --- hw/vfb/InitOutput.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hw/vfb/InitOutput.c b/hw/vfb/InitOutput.c index 2f0f4f07d..f36752fc1 100644 --- a/hw/vfb/InitOutput.c +++ b/hw/vfb/InitOutput.c @@ -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;