summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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