summaryrefslogtreecommitdiff
path: root/randr/rrmode.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/rrmode.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/rrmode.c')
-rw-r--r--randr/rrmode.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/randr/rrmode.c b/randr/rrmode.c
index 07cd0c14f..fb4b5eb1e 100644
--- a/randr/rrmode.c
+++ b/randr/rrmode.c
@@ -29,8 +29,6 @@ RRModeEqual (xRRModeInfo *a, xRRModeInfo *b)
{
if (a->width != b->width) return FALSE;
if (a->height != b->height) return FALSE;
- if (a->mmWidth != b->mmWidth) return FALSE;
- if (a->mmHeight != b->mmHeight) return FALSE;
if (a->dotClock != b->dotClock) return FALSE;
if (a->hSyncStart != b->hSyncStart) return FALSE;
if (a->hSyncEnd != b->hSyncEnd) return FALSE;