mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
xkb: move XkbSetCause* macros into private header.
These aren't used by any drivers/modules, so no need to keep them exported. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
@@ -96,16 +96,6 @@ typedef struct _XkbEventCause {
|
||||
ClientPtr client;
|
||||
} XkbEventCauseRec, *XkbEventCausePtr;
|
||||
|
||||
#define XkbSetCauseKey(c,k,e) { (c)->kc= (k),(c)->event= (e),\
|
||||
(c)->mjr= (c)->mnr= 0; \
|
||||
(c)->client= NULL; }
|
||||
#define XkbSetCauseReq(c,j,n,cl) { (c)->kc= (c)->event= 0,\
|
||||
(c)->mjr= (j),(c)->mnr= (n);\
|
||||
(c)->client= (cl); }
|
||||
#define XkbSetCauseCoreReq(c,e,cl) XkbSetCauseReq(c,e,0,cl)
|
||||
#define XkbSetCauseXkbReq(c,e,cl) XkbSetCauseReq(c,XkbReqCode,e,cl)
|
||||
#define XkbSetCauseUnknown(c) XkbSetCauseKey(c,0,0)
|
||||
|
||||
typedef struct _XkbFilter {
|
||||
CARD16 keycode;
|
||||
CARD8 what;
|
||||
|
||||
Reference in New Issue
Block a user