From d6992dd3b7fcf22e4d670b29e8d0e2aba0d8e81d Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Fri, 15 Sep 2006 15:41:02 -0700 Subject: Add CONNECTION values to spec and header. Missing CONNECTION values in encoding and header file. --- randr.h | 4 ++++ randrproto.txt | 8 +++++++- 2 files changed, 11 insertions(+), 1 deletion(-) 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 -- cgit v1.2.1