summaryrefslogtreecommitdiff
path: root/src/XrrOutput.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@mandolin.keithp.com>2006-11-01 00:25:45 -0800
committerKeith Packard <keithp@mandolin.keithp.com>2006-11-01 00:25:45 -0800
commit6676505b6012c97d2f711a84237fa14a62d1d33d (patch)
treef84de4eab5383eab2df021883e6e7a822d768f2b /src/XrrOutput.c
parentab4207db14d70384f017cc2a22379d7c358b60e0 (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/XrrOutput.c')
-rw-r--r--src/XrrOutput.c2
1 files changed, 2 insertions, 0 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;