diff options
Diffstat (limited to 'src/XrrCrtc.c')
-rw-r--r-- | src/XrrCrtc.c | 1 |
1 files changed, 1 insertions, 0 deletions
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, |