summaryrefslogtreecommitdiff
path: root/randr.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@neko.keithp.com>2006-10-04 20:03:35 -0700
committerKeith Packard <keithp@neko.keithp.com>2006-10-04 20:03:35 -0700
commit369d4e7d2030c707cf2ce37d06c1d23b0570910c (patch)
treeaab5c74a18b0ce3d85dd9e65cbc195ef67284832 /randr.h
parent3c354e7245dd7830b5600716185017831aff1316 (diff)
downloadxorg-proto-randrproto-369d4e7d2030c707cf2ce37d06c1d23b0570910c.tar.gz
Remove mode origins. Add preferred mode count.
Switched from identifying source of mode line to listing which modes are preferred by each output. This enables better CRTC sharing by making modes less arbitrarily different.
Diffstat (limited to 'randr.h')
-rw-r--r--randr.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/randr.h b/randr.h
index 202eb23..77ec5e4 100644
--- a/randr.h
+++ b/randr.h
@@ -36,6 +36,7 @@ typedef unsigned short XRandrRotation;
typedef unsigned short XRandrSizeID;
typedef unsigned short XRandrSubpixelOrder;
typedef unsigned long XRandrModeFlags;
+typedef unsigned long XRandrOutputOptions;
#define RANDR_NAME "RANDR"
#define RANDR_MAJOR 1
@@ -132,12 +133,6 @@ typedef unsigned long XRandrModeFlags;
#define BadRRCrtc 1
#define BadRRMode 2
-#define RRModeOriginMonitor 0
-#define RRModeOriginVESA 1
-#define RRModeOriginConfig 2
-#define RRModeOriginUser 3
-#define RRModeOriginOther 4
-
#define RROutputOptionScaleNone 1
#define RROutputOptionScaleMaxAspect 2
#define RROutputOptionScaleMax 4