summaryrefslogtreecommitdiff
path: root/presenttokens.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-07-15 10:55:48 -0700
committerKeith Packard <keithp@keithp.com>2013-07-15 10:55:48 -0700
commitec9db7408ff742312677e40b0b9a0239a07ab43c (patch)
treed668af7ed57ba57e519eeb88ea585bf2740e1bf0 /presenttokens.h
parentf1950e6f10a61318f22083900602d9c920d00667 (diff)
Remove SBC, use CompleteNotify for both Region and NotifyMSC
SBC is entire a client-side notion, so remove it from the protocol. No need to have two events with the same content, but we do need to tell which request generated the event so stick a new field in some spare bytes Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'presenttokens.h')
-rw-r--r--presenttokens.h15
1 files changed, 10 insertions, 5 deletions
diff --git a/presenttokens.h b/presenttokens.h
index d829f11..dbfdb36 100644
--- a/presenttokens.h
+++ b/presenttokens.h
@@ -30,6 +30,7 @@
#define PresentNumberErrors 0
#define PresentNumberEvents 0
+/* Requests */
#define X_PresentQueryVersion 0
#define X_PresentRegion 1
#define X_PresentNotifyMSC 2
@@ -37,19 +38,23 @@
#define PresentNumberRequests 4
+/* Events */
#define PresentConfigureNotify 0
#define PresentCompleteNotify 1
-#define PresentMSCNotify 2
-#define PresentRedirectNotify 3
+#define PresentRedirectNotify 2
+/* Event Masks */
#define PresentConfigureNotifyMask 1
#define PresentCompleteNotifyMask 2
-#define PresentMSCNotifyMask 4
-#define PresentRedirectNotifyMask 8
+#define PresentRedirectNotifyMask 4
#define PresentAllEvents (PresentConfigureNotifyMask | \
PresentCompleteNotifyMask | \
- PresentMSCNotifyMask | \
PresentRedirectNotifyMask)
+/* Complete Kinds */
+
+#define PresentCompleteKindRegion 0
+#define PresentCompleteKindNotifyMSC 1
+
#endif