From ac82ee50f3938b7b4d6dbcec850d38500258bfe0 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Thu, 15 Feb 2007 16:56:11 -0800 Subject: Must pass size information in SetCrtcGamma request. --- src/XrrCrtc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/XrrCrtc.c b/src/XrrCrtc.c index 1fa5cf7..5e5c813 100644 --- a/src/XrrCrtc.c +++ b/src/XrrCrtc.c @@ -253,6 +253,7 @@ XRRSetCrtcGamma (Display *dpy, RRCrtc crtc, XRRCrtcGamma *crtc_gamma) req->reqType = info->codes->major_opcode; req->randrReqType = X_RRSetCrtcGamma; req->crtc = crtc; + req->size = crtc_gamma->size; req->length += (crtc_gamma->size * 2 * 3 + 3) >> 2; /* * Note this assumes the structure was allocated with XRRAllocGamma, -- cgit v1.2.3