summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@neko.keithp.com>2006-09-15 15:41:02 -0700
committerKeith Packard <keithp@neko.keithp.com>2006-09-15 15:41:02 -0700
commitd6992dd3b7fcf22e4d670b29e8d0e2aba0d8e81d (patch)
tree0f581f16c18c5c591867204d09dcbf6d5ae43d03
parente9a5a489acd591ff53823b406dca13c622439c14 (diff)
Add CONNECTION values to spec and header.
Missing CONNECTION values in encoding and header file.
-rw-r--r--randr.h4
-rw-r--r--randrproto.txt8
2 files changed, 11 insertions, 1 deletions
diff --git a/randr.h b/randr.h
index be00793..94ae3a5 100644
--- a/randr.h
+++ b/randr.h
@@ -124,4 +124,8 @@ typedef unsigned short XRandrMonitor;
#define RR_DoubleClock 0x00001000
#define RR_ClockDivideBy2 0x00002000
+#define RR_Connected 0
+#define RR_Disconnected 1
+#define RR_UnknownConnection 2
+
#endif /* _RANDR_H_ */
diff --git a/randrproto.txt b/randrproto.txt
index a0fc39d..cd9bfff 100644
--- a/randrproto.txt
+++ b/randrproto.txt
@@ -1162,7 +1162,13 @@ A.1 Common Types
0x00001000 DoubleClock
0x00002000 ClockDivideBy2
└───
-
+┌───
+ CONNECTION
+ 0 Connected
+ 1 Disconnected
+ 2 UnknownConnection
+└───
+
A.2 Protocol Requests
Opcodes 1 and 3 were used in the 0.0 protocols, and will return