Add CONNECTION values to spec and header.

Missing CONNECTION values in encoding and header file.
This commit is contained in:
Keith Packard 2006-09-15 15:41:02 -07:00
parent e9a5a489ac
commit d6992dd3b7
2 changed files with 11 additions and 1 deletions

View file

@ -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_ */

View file

@ -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