summaryrefslogtreecommitdiff
path: root/randr/rrinfo.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@mandolin.keithp.com>2006-11-01 00:29:46 -0800
committerKeith Packard <keithp@mandolin.keithp.com>2006-11-01 00:29:46 -0800
commit4056e6e79a4e37101d298ae29139c83d3816368b (patch)
treebe8d982fb4855ac338d4113fb611f62fddc93a68 /randr/rrinfo.c
parente21604914dccece6bc64c69b55512d1f1a969235 (diff)
Move physical size from mode to output.
Modes can be shared across different sized monitors this way. Also caught some missing byteswapping and an incorrect return type.
Diffstat (limited to 'randr/rrinfo.c')
-rw-r--r--randr/rrinfo.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/randr/rrinfo.c b/randr/rrinfo.c
index 6fd4ee581..e92caadfa 100644
--- a/randr/rrinfo.c
+++ b/randr/rrinfo.c
@@ -39,8 +39,6 @@ RROldModeAdd (RROutputPtr output, RRScreenSizePtr size, int refresh)
modeInfo.width = size->width;
modeInfo.height = size->height;
- modeInfo.mmWidth = size->mmWidth;
- modeInfo.mmHeight = size->mmHeight;
modeInfo.hTotal = size->width;
modeInfo.vTotal = size->height;
modeInfo.dotClock = ((CARD32) size->width * (CARD32) size->height *