kbd: move _XkbWantsDetectableAutoRepeat() macro into dix/events.c
That's the only place where it is used, so no need to keep it in a public header. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1462>
This commit is contained in:
parent
f8057261fe
commit
cdb4d5648a
|
@ -146,6 +146,9 @@ Equipment Corporation.
|
|||
#include "enterleave.h"
|
||||
#include "mi.h"
|
||||
|
||||
#define _XkbWantsDetectableAutoRepeat(c) \
|
||||
((c)->xkbClientFlags&XkbPCF_DetectableAutoRepeatMask)
|
||||
|
||||
/* Extension events type numbering starts at EXTENSION_EVENT_BASE. */
|
||||
#define NoSuchEvent 0x80000000 /* so doesn't match NoEventMask */
|
||||
#define StructureAndSubMask ( StructureNotifyMask | SubstructureNotifyMask )
|
||||
|
|
|
@ -232,9 +232,6 @@ typedef struct _XkbSrvLedInfo {
|
|||
#define _XkbClientInitialized (1<<7)
|
||||
#define _XkbClientIsAncient (1<<6)
|
||||
|
||||
#define _XkbWantsDetectableAutoRepeat(c)\
|
||||
((c)->xkbClientFlags&XkbPCF_DetectableAutoRepeatMask)
|
||||
|
||||
/*
|
||||
* Settings for flags field
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue