summaryrefslogtreecommitdiff
path: root/randr.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@neko.keithp.com>2006-11-20 20:58:16 -0800
committerKeith Packard <keithp@neko.keithp.com>2006-11-20 20:58:16 -0800
commitaf852261efa5eb7f8d16e3e90b8832bf66d93de7 (patch)
tree75a03dd0e92fedd4d51685694901e7f13b2fc9bc /randr.h
parentcdc282c2995dc17dee97c6da24a9705478cf792e (diff)
downloadxorg-proto-randrproto-af852261efa5eb7f8d16e3e90b8832bf66d93de7.tar.gz
Change properties to have a pending value and report valid values.
Pending values are transferred to current values at mode set, allowing a queue of values to accrue in preparation for the modeset operation while still reporting valid 'current' values for applications. The set of valid values is also available so applications can present a reasonable list to the user during configuration. I renumbered a bunch of requests to keep property requests sequential.
Diffstat (limited to 'randr.h')
-rw-r--r--randr.h28
1 files changed, 15 insertions, 13 deletions
diff --git a/randr.h b/randr.h
index 935db85..17e6ef9 100644
--- a/randr.h
+++ b/randr.h
@@ -43,7 +43,7 @@ typedef unsigned long XRandrModeFlags;
#define RRNumberErrors 3
#define RRNumberEvents 2
-#define RRNumberRequests 23
+#define RRNumberRequests 25
#define X_RRQueryVersion 0
/* we skip 1 to make old clients fail pretty immediately */
@@ -62,18 +62,20 @@ typedef unsigned long XRandrModeFlags;
#define X_RRGetScreenResources 8
#define X_RRGetOutputInfo 9
#define X_RRListOutputProperties 10
-#define X_RRChangeOutputProperty 11
-#define X_RRDeleteOutputProperty 12
-#define X_RRGetOutputProperty 13
-#define X_RRCreateMode 14
-#define X_RRDestroyMode 15
-#define X_RRAddOutputMode 16
-#define X_RRDeleteOutputMode 17
-#define X_RRGetCrtcInfo 18
-#define X_RRSetCrtcConfig 19
-#define X_RRGetCrtcGammaSize 20
-#define X_RRGetCrtcGamma 21
-#define X_RRSetCrtcGamma 22
+#define X_RRQueryOutputProperty 11
+#define X_RRConfigureOutputProperty 12
+#define X_RRChangeOutputProperty 13
+#define X_RRDeleteOutputProperty 14
+#define X_RRGetOutputProperty 15
+#define X_RRCreateMode 16
+#define X_RRDestroyMode 17
+#define X_RRAddOutputMode 18
+#define X_RRDeleteOutputMode 19
+#define X_RRGetCrtcInfo 20
+#define X_RRSetCrtcConfig 21
+#define X_RRGetCrtcGammaSize 22
+#define X_RRGetCrtcGamma 23
+#define X_RRSetCrtcGamma 24
/* Event selection bits */
#define RRScreenChangeNotifyMask (1L << 0)