summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-04-11 19:06:58 -0700
committerKeith Packard <keithp@keithp.com>2013-04-11 19:06:58 -0700
commit9998b10076e98e04188cb28dea13252dfae2757d (patch)
treea372006d2bdf58bee2b758ceb8380e3e9ac4b572
parent92135eefc5d452f8d4f1921a778af238e6b5d1a5 (diff)
downloadxorg-proto-dri3proto-9998b10076e98e04188cb28dea13252dfae2757d.tar.gz
Add 'event id' to DRI3 configure notify events
This allows multiple subsystems within the application to all separately control event delivery. Yes, it could be done client-side, but it's way easier in the server. Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r--dri3proto.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/dri3proto.h b/dri3proto.h
index 2f63f88..6fb2cc9 100644
--- a/dri3proto.h
+++ b/dri3proto.h
@@ -85,6 +85,7 @@ typedef struct {
CARD8 reqType;
CARD8 dri3ReqType;
CARD16 length B16;
+ CARD32 eid B32;
CARD32 window B32;
CARD32 eventMask B32;
} xDRI3SelectInputReq;
@@ -106,6 +107,7 @@ typedef struct {
CARD32 length;
CARD16 evtype B16;
CARD16 pad2;
+ CARD32 eid B32;
CARD32 window B32;
INT16 x B16;
INT16 y B16;
@@ -116,6 +118,6 @@ typedef struct {
CARD16 pixmap_width B16;
CARD16 pixmap_height B16;
} xDRI3ConfigureNotify;
-#define sz_xDRI3ConfigureNotify 32
+#define sz_xDRI3ConfigureNotify 36
#endif