diff options
author | Keith Packard <keithp@mandolin.keithp.com> | 2006-11-01 00:29:46 -0800 |
---|---|---|
committer | Keith Packard <keithp@mandolin.keithp.com> | 2006-11-01 00:29:46 -0800 |
commit | 4056e6e79a4e37101d298ae29139c83d3816368b (patch) | |
tree | be8d982fb4855ac338d4113fb611f62fddc93a68 /randr/mirandr.c | |
parent | e21604914dccece6bc64c69b55512d1f1a969235 (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/mirandr.c')
-rw-r--r-- | randr/mirandr.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/randr/mirandr.c b/randr/mirandr.c index 8d79e8a11..11c299133 100644 --- a/randr/mirandr.c +++ b/randr/mirandr.c @@ -111,8 +111,6 @@ miRandRInit (ScreenPtr pScreen) memset (&modeInfo, '\0', sizeof (modeInfo)); modeInfo.width = pScreen->width; modeInfo.height = pScreen->height; - modeInfo.mmWidth = pScreen->mmWidth; - modeInfo.mmHeight = pScreen->mmHeight; modeInfo.nameLength = strlen (name); mode = RRModeGet (pScreen, &modeInfo, name); |