mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
xkb: move *_TIMER defines into xkbAccessX.c
These are only used in this file (and also not any external driver),
so no need to have them in a public header file.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1459>
(cherry picked from commit feb5c785fc)
This commit is contained in:
committed by
Alan Coopersmith
parent
88967b45f0
commit
09a1b2851b
@@ -104,12 +104,6 @@ typedef struct _XkbEventCause {
|
||||
#define XkbSetCauseXkbReq(c,e,cl) XkbSetCauseReq(c,XkbReqCode,e,cl)
|
||||
#define XkbSetCauseUnknown(c) XkbSetCauseKey(c,0,0)
|
||||
|
||||
#define _OFF_TIMER 0
|
||||
#define _KRG_WARN_TIMER 1
|
||||
#define _KRG_TIMER 2
|
||||
#define _SK_TIMEOUT_TIMER 3
|
||||
#define _ALL_TIMEOUT_TIMER 4
|
||||
|
||||
#define _BEEP_NONE 0
|
||||
#define _BEEP_FEATURE_ON 1
|
||||
#define _BEEP_FEATURE_OFF 2
|
||||
|
||||
@@ -46,6 +46,12 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
int XkbDfltRepeatDelay = 660;
|
||||
int XkbDfltRepeatInterval = 40;
|
||||
|
||||
#define _OFF_TIMER 0
|
||||
#define _KRG_WARN_TIMER 1
|
||||
#define _KRG_TIMER 2
|
||||
#define _SK_TIMEOUT_TIMER 3
|
||||
#define _ALL_TIMEOUT_TIMER 4
|
||||
|
||||
#define DFLT_TIMEOUT_CTRLS (XkbAX_KRGMask|XkbStickyKeysMask|XkbMouseKeysMask)
|
||||
#define DFLT_TIMEOUT_OPTS (XkbAX_IndicatorFBMask)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user