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:
parent
97da5f97ba
commit
7497cc08f6
|
@ -67,6 +67,10 @@ SOFTWARE.
|
||||||
#include "exglobals.h"
|
#include "exglobals.h"
|
||||||
#include "inpututils.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 BITMASK(i) (((Mask)1) << ((i) & 31))
|
||||||
#define MASKIDX(i) ((i) >> 5)
|
#define MASKIDX(i) ((i) >> 5)
|
||||||
#define MASKWORD(buf, i) buf[MASKIDX(i)]
|
#define MASKWORD(buf, i) buf[MASKIDX(i)]
|
||||||
|
|
|
@ -157,10 +157,6 @@ typedef struct _OtherInputMasks {
|
||||||
* keyboard/pointer device) going at once in the server.
|
* 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 */
|
typedef struct _DetailRec { /* Grab details may be bit masks */
|
||||||
unsigned int exact;
|
unsigned int exact;
|
||||||
Mask *pMask;
|
Mask *pMask;
|
||||||
|
|
Loading…
Reference in New Issue