mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-18 19:52:21 +00:00
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.
This commit is contained in:
parent
e21604914d
commit
4056e6e79a
8 changed files with 50 additions and 15 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue