diff options
author | Keith Packard <keithp@neko.keithp.com> | 2006-10-04 20:04:09 -0700 |
---|---|---|
committer | Keith Packard <keithp@neko.keithp.com> | 2006-10-04 20:04:09 -0700 |
commit | ab4207db14d70384f017cc2a22379d7c358b60e0 (patch) | |
tree | c74a28ced4cb1617ba052fa3a3ae3af4210e23b0 /src/XrrOutput.c | |
parent | dd0fb435a0168d4041ecd81024d6493295651c61 (diff) |
Remove mode origins. Add preferred mode count.
Diffstat (limited to 'src/XrrOutput.c')
-rw-r--r-- | src/XrrOutput.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/XrrOutput.c b/src/XrrOutput.c index 872a83a..8ae3efa 100644 --- a/src/XrrOutput.c +++ b/src/XrrOutput.c @@ -97,6 +97,7 @@ XRRGetOutputInfo (Display *dpy, XRRScreenResources *resources, RROutput output) xoi->ncrtc = rep.nCrtcs; xoi->crtcs = (RRCrtc *) (xoi + 1); xoi->nmode = rep.nModes; + xoi->npreferred = rep.nPreferred; xoi->modes = (RRMode *) (xoi->crtcs + rep.nCrtcs); xoi->nclone = rep.nClones; xoi->clones = (RROutput *) (xoi->modes + rep.nModes); |