diff options
author | Keith Packard <keithp@mandolin.keithp.com> | 2006-11-01 00:25:45 -0800 |
---|---|---|
committer | Keith Packard <keithp@mandolin.keithp.com> | 2006-11-01 00:25:45 -0800 |
commit | 6676505b6012c97d2f711a84237fa14a62d1d33d (patch) | |
tree | f84de4eab5383eab2df021883e6e7a822d768f2b /src | |
parent | ab4207db14d70384f017cc2a22379d7c358b60e0 (diff) |
Moving physical size from mode to output.
Follows protocol change which places physical size
information in the output rather than (inappropriately)
in each mode line.
Diffstat (limited to 'src')
-rw-r--r-- | src/XrrOutput.c | 2 | ||||
-rw-r--r-- | src/XrrScreen.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/XrrOutput.c b/src/XrrOutput.c index 8ae3efa..a497457 100644 --- a/src/XrrOutput.c +++ b/src/XrrOutput.c @@ -91,6 +91,8 @@ XRRGetOutputInfo (Display *dpy, XRRScreenResources *resources, RROutput output) xoi->timestamp = rep.timestamp; xoi->crtc = rep.crtc; xoi->current_options = rep.currentOptions; + xoi->mm_width = rep.mmWidth; + xoi->mm_height = rep.mmHeight; xoi->connection = rep.connection; xoi->subpixel_order = rep.subpixelOrder; xoi->possible_options = rep.possibleOptions; diff --git a/src/XrrScreen.c b/src/XrrScreen.c index 1b79c8f..c9f5204 100644 --- a/src/XrrScreen.c +++ b/src/XrrScreen.c @@ -150,8 +150,6 @@ XRRGetScreenResources (Display *dpy, Window window) xrsr->modes[i].id = modeInfo.id; xrsr->modes[i].width = modeInfo.width; xrsr->modes[i].height = modeInfo.height; - xrsr->modes[i].mmWidth = modeInfo.mmWidth; - xrsr->modes[i].mmHeight = modeInfo.mmHeight; xrsr->modes[i].dotClock = modeInfo.dotClock; xrsr->modes[i].hSyncStart = modeInfo.hSyncStart; xrsr->modes[i].hSyncEnd = modeInfo.hSyncEnd; |