summaryrefslogtreecommitdiff
path: root/include/inputstr.h
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-03-09 16:36:07 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-03-20 15:17:56 +1000
commita668d91e28d5a3042a8ce0d087474883b046869a (patch)
tree33f25c4f0851becd59f3ecb68e964dd876aa0632 /include/inputstr.h
parent32f338263ff7de1a2e76d570c98f5be979c18d4e (diff)
dix: store the xi2mask on grabs and pass it around as needed.
This enables passive and implicit passive grabs for XI2 events, except that we don't have the protocol spec yet to request them.
Diffstat (limited to 'include/inputstr.h')
-rw-r--r--include/inputstr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/inputstr.h b/include/inputstr.h
index 678c171c5..59fb29bf0 100644
--- a/include/inputstr.h
+++ b/include/inputstr.h
@@ -181,6 +181,8 @@ typedef struct _GrabRec {
CursorPtr cursor; /* always NULL for keyboards */
Mask eventMask;
Mask deviceMask;
+ /* XI2 event masks. One per device, each bit is a mask of (1 << type) */
+ unsigned char xi2mask[EMASKSIZE][XI2MASKSIZE];
} GrabRec;
typedef struct _KeyClassRec {