diff --git a/dix/grabs.c b/dix/grabs.c index addc4a09c..1fe061c6d 100644 --- a/dix/grabs.c +++ b/dix/grabs.c @@ -67,6 +67,10 @@ SOFTWARE. #include "exglobals.h" #include "inpututils.h" +#define MasksPerDetailMask 8 /* 256 keycodes and 256 possible + modifier combinations, but only + 3 buttons. */ + #define BITMASK(i) (((Mask)1) << ((i) & 31)) #define MASKIDX(i) ((i) >> 5) #define MASKWORD(buf, i) buf[MASKIDX(i)] diff --git a/include/inputstr.h b/include/inputstr.h index c3bbfbe08..aa4c9a37f 100644 --- a/include/inputstr.h +++ b/include/inputstr.h @@ -157,10 +157,6 @@ typedef struct _OtherInputMasks { * keyboard/pointer device) going at once in the server. */ -#define MasksPerDetailMask 8 /* 256 keycodes and 256 possible - modifier combinations, but only - 3 buttons. */ - typedef struct _DetailRec { /* Grab details may be bit masks */ unsigned int exact; Mask *pMask;