summaryrefslogtreecommitdiff
path: root/randr.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@neko.keithp.com>2006-09-17 23:41:55 -0700
committerKeith Packard <keithp@neko.keithp.com>2006-09-17 23:41:55 -0700
commitce292d7cad17be4b13e4b7fad27b0ecbed101689 (patch)
treec5bc16723a92548a35e338e4ff41c15a0c0b8c79 /randr.h
parentd6992dd3b7fcf22e4d670b29e8d0e2aba0d8e81d (diff)
Fix various random typos found while attempting to use header files
Fix RRNumberRequests Rename errors to include RR to avoid conflicting with Xi. Add RR to various request/reply structs (oops). Remove nOutputs from SetCrtcConfigReq -- length is sufficient. Remove bogus members from SetCrtcConfigReply. Add MODEOPTION. Document protocol error encoding.
Diffstat (limited to 'randr.h')
-rw-r--r--randr.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/randr.h b/randr.h
index 94ae3a5..6d9369f 100644
--- a/randr.h
+++ b/randr.h
@@ -43,7 +43,7 @@ typedef unsigned short XRandrMonitor;
#define RRNumberErrors 0
#define RRNumberEvents 2
-#define RRNumberRequests 12
+#define RRNumberRequests 23
#define X_RRQueryVersion 0
/* we skip 1 to make old clients fail pretty immediately */
@@ -128,4 +128,8 @@ typedef unsigned short XRandrMonitor;
#define RR_Disconnected 1
#define RR_UnknownConnection 2
+#define BadRROutput 0
+#define BadRRCrtc 1
+#define BadRRMode 2
+
#endif /* _RANDR_H_ */