diff options
author | Keith Packard <keithp@neko.keithp.com> | 2006-12-30 13:11:10 -0800 |
---|---|---|
committer | Keith Packard <keithp@neko.keithp.com> | 2006-12-30 13:11:10 -0800 |
commit | d70a3e7f111cb65c37edfa78ca66449338d3bb8f (patch) | |
tree | 4d967a6bb0bdfef83ebcdfac73ac906385e0062a | |
parent | bc75a92cac23dad4a661a13e6af121f6072cecc8 (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.
-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 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); |