dix: make MasksPerDetailMask define private

It's only ever used inside dix/grabs.c, no outside users,
no no need to keep it public.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult 2025-02-25 19:25:50 +01:00
parent 97da5f97ba
commit 7497cc08f6
2 changed files with 4 additions and 4 deletions

View File

@ -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)]

View File

@ -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;