summaryrefslogtreecommitdiff
path: root/src/XrrCrtc.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@neko.keithp.com>2006-12-30 13:11:10 -0800
committerKeith Packard <keithp@neko.keithp.com>2006-12-30 13:11:10 -0800
commitd70a3e7f111cb65c37edfa78ca66449338d3bb8f (patch)
tree4d967a6bb0bdfef83ebcdfac73ac906385e0062a /src/XrrCrtc.c
parentbc75a92cac23dad4a661a13e6af121f6072cecc8 (diff)
Failed to copy rotations from reply to XRRCrtcInfo.
XRRGetCrtcInfo was not moving the rotations value from the wire reply structure to the XRRCrtcInfo being returned, leaving the value uninitialized.
Diffstat (limited to 'src/XrrCrtc.c')
-rw-r--r--src/XrrCrtc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/XrrCrtc.c b/src/XrrCrtc.c
index afad82c..1fa5cf7 100644
--- a/src/XrrCrtc.c
+++ b/src/XrrCrtc.c
@@ -90,6 +90,7 @@ XRRGetCrtcInfo (Display *dpy, XRRScreenResources *resources, RRCrtc crtc)
xci->rotation = rep.rotation;
xci->noutput = rep.nOutput;
xci->outputs = (RROutput *) (xci + 1);
+ xci->rotations = rep.rotations;
xci->npossible = rep.nPossibleOutput;
xci->possible = (RROutput *) (xci->outputs + rep.nOutput);