proto/randrproto: Branch 'multi-monitor'

Keith Packard keithp at kemper.freedesktop.org
Sat Sep 16 01:41:09 EEST 2006


 randr.h        |    4 ++++
 randrproto.txt |    8 +++++++-
 2 files changed, 11 insertions(+), 1 deletion(-)

New commits:
diff-tree d6992dd3b7fcf22e4d670b29e8d0e2aba0d8e81d (from e9a5a489acd591ff53823b406dca13c622439c14)
Author: Keith Packard <keithp at neko.keithp.com>
Date:   Fri Sep 15 15:41:02 2006 -0700

    Add CONNECTION values to spec and header.
    
    Missing CONNECTION values in encoding and header file.

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



More information about the xorg-commit mailing list