mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-25 21:02:21 +00:00
input: use a GrabMask union in GrabDevice to allow for XI2 masks.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
6bb4b5b937
commit
c94ea5bc05
5 changed files with 27 additions and 6 deletions
|
|
@ -156,6 +156,12 @@ typedef enum {
|
|||
GRABTYPE_XI2
|
||||
} GrabType;
|
||||
|
||||
union _GrabMask {
|
||||
Mask core;
|
||||
Mask xi;
|
||||
char xi2mask[EMASKSIZE][XI2MASKSIZE];
|
||||
};
|
||||
|
||||
/**
|
||||
* Central struct for device grabs.
|
||||
* The same struct is used for both core grabs and device grabs, with
|
||||
|
|
|
|||
Loading…
Reference in a new issue