summaryrefslogtreecommitdiff
path: root/randr.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@guitar.keithp.com>2006-10-03 21:02:39 -0700
committerKeith Packard <keithp@guitar.keithp.com>2006-10-03 21:02:39 -0700
commitee843ac7077f5dcae677ad1b7c794abb0b89e111 (patch)
tree359b3bfcbabe09ac927a298a50a85be5dcd657b3 /randr.h
parentd6c9bdd0e6713a8c4dff53e88bd820ff1140758c (diff)
downloadxorg-proto-randrproto-ee843ac7077f5dcae677ad1b7c794abb0b89e111.tar.gz
Add mode origins and output options.
Mode origins indicate the source of the mode information, from VESA timings, user config or whatever. Output options currently include only panel fitting options; more may be added later (this field is 32 bits wide)
Diffstat (limited to 'randr.h')
-rw-r--r--randr.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/randr.h b/randr.h
index 43a616d..f0f81e1 100644
--- a/randr.h
+++ b/randr.h
@@ -132,4 +132,15 @@ 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 RROutputOptionScaleNone 1
+#define RROutputOptionScaleMaxAspect 2
+#define RROutputOptionScaleMax 4
+
#endif /* _RANDR_H_ */