summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@guitar.keithp.com>2006-10-04 14:51:48 -0700
committerKeith Packard <keithp@guitar.keithp.com>2006-10-04 14:51:48 -0700
commit3c354e7245dd7830b5600716185017831aff1316 (patch)
tree2933ae2ef2c39ae05462b3485829f7050cc9846f
parentee843ac7077f5dcae677ad1b7c794abb0b89e111 (diff)
downloadxorg-proto-randrproto-3c354e7245dd7830b5600716185017831aff1316.tar.gz
Get rid of mode origins.
-rw-r--r--randr.h11
-rw-r--r--randrproto.txt36
2 files changed, 12 insertions, 35 deletions
diff --git a/randr.h b/randr.h
index f0f81e1..202eb23 100644
--- a/randr.h
+++ b/randr.h
@@ -132,12 +132,11 @@ typedef unsigned long XRandrModeFlags;
#define BadRRCrtc 1
#define BadRRMode 2
-#define RRModeOriginPreferred 0
-#define RRModeOriginDetailed 1
-#define RRModeOriginVESA 2
-#define RRModeOriginConfig 3
-#define RRModeOriginUser 4
-#define RRModeOriginOther 5
+#define RRModeOriginMonitor 0
+#define RRModeOriginVESA 1
+#define RRModeOriginConfig 2
+#define RRModeOriginUser 3
+#define RRModeOriginOther 4
#define RROutputOptionScaleNone 1
#define RROutputOptionScaleMaxAspect 2
diff --git a/randrproto.txt b/randrproto.txt
index 15ab34f..6e64557 100644
--- a/randrproto.txt
+++ b/randrproto.txt
@@ -242,34 +242,12 @@ SIZEID { CARD16 }
MODE { XID or None }
-RRMODEORIGIN { RRModeOriginPreferred,
- RRModeOriginDetailed,
- RRModeOriginVESA,
- RRModeOriginConfig,
- RRModeOriginUser,
- RRModeOriginOther }
-
- These values are used to indicate to the application the origin
- of each mode.
-
- Preferred modes come from the monitor as the preferred mode for
- this monitor; generally these are used for fixed-pixel flat panels
- to indicate the native resolution of the panel.
-
- Detailed modes also come from the monitor as additional modes that
- may not follow the VESA specification.
-
- VESA modes are either standard modes from the VESA spec or modes
- generated from the GTF using the monitor specifications.
-
- Config modes are those provided as a part of the X server
- configuration.
-
- User modes are those defined through the RandR protocol during X
- server operation.
-
- Other modes covers modes that come from any other source; space
- aliens, tarot cards, whatever.
+OUTPUTPREFERENCE { RROutputPreferencePreferred,
+ RROutputPreferenceMonitor,
+ RROutputPreference
+
+OUTPUTMODE { mode: MODE,
+ preference: OUTPUTPREFERENCE }
CRTC { XID }
@@ -592,7 +570,7 @@ dynamic changes in the display environment.
possible-options: SETofOUTPUTOPTION
crtcs: LISTofCRTC
clones: LISTofOUTPUT
- modes: LISTofMODE
+ modes: LISTofOUTPUTMODE
└───
Errors: Output