mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-29 21:46:40 +00:00
xace: add hooks + new access codes: XKB extension.
Removes "LookupKeyboardDevice" and "LookupPointerDevice" in favor of inputInfo.keyboard and inputInfo.pointer, respectively; all use cases are non-XI compliant anyway.
This commit is contained in:
parent
5c03d13181
commit
8b54865720
25 changed files with 217 additions and 175 deletions
|
|
@ -262,6 +262,7 @@ typedef struct
|
|||
extern int XkbReqCode;
|
||||
extern int XkbEventBase;
|
||||
extern int XkbDisableLockActions;
|
||||
extern int XkbKeyboardErrorCode;
|
||||
extern char * XkbBaseDirectory;
|
||||
extern char * XkbBinDirectory;
|
||||
extern char * XkbInitialMap;
|
||||
|
|
@ -352,29 +353,44 @@ extern void XkbFreeNames(
|
|||
Bool /* freeMap */
|
||||
);
|
||||
|
||||
extern DeviceIntPtr _XkbLookupAnyDevice(
|
||||
int /* id */,
|
||||
int * /* why_rtrn */
|
||||
extern int _XkbLookupAnyDevice(
|
||||
DeviceIntPtr *pDev,
|
||||
int id,
|
||||
ClientPtr client,
|
||||
Mask access_mode,
|
||||
int *xkb_err
|
||||
);
|
||||
|
||||
extern DeviceIntPtr _XkbLookupKeyboard(
|
||||
int /* id */,
|
||||
int * /* why_rtrn */
|
||||
extern int _XkbLookupKeyboard(
|
||||
DeviceIntPtr *pDev,
|
||||
int id,
|
||||
ClientPtr client,
|
||||
Mask access_mode,
|
||||
int *xkb_err
|
||||
);
|
||||
|
||||
extern DeviceIntPtr _XkbLookupBellDevice(
|
||||
int /* id */,
|
||||
int * /* why_rtrn */
|
||||
extern int _XkbLookupBellDevice(
|
||||
DeviceIntPtr *pDev,
|
||||
int id,
|
||||
ClientPtr client,
|
||||
Mask access_mode,
|
||||
int *xkb_err
|
||||
);
|
||||
|
||||
extern DeviceIntPtr _XkbLookupLedDevice(
|
||||
int /* id */,
|
||||
int * /* why_rtrn */
|
||||
extern int _XkbLookupLedDevice(
|
||||
DeviceIntPtr *pDev,
|
||||
int id,
|
||||
ClientPtr client,
|
||||
Mask access_mode,
|
||||
int *xkb_err
|
||||
);
|
||||
|
||||
extern DeviceIntPtr _XkbLookupButtonDevice(
|
||||
int /* id */,
|
||||
int * /* why_rtrn */
|
||||
extern int _XkbLookupButtonDevice(
|
||||
DeviceIntPtr *pDev,
|
||||
int id,
|
||||
ClientPtr client,
|
||||
Mask access_mode,
|
||||
int *xkb_err
|
||||
);
|
||||
|
||||
extern XkbDescPtr XkbAllocKeyboard(
|
||||
|
|
|
|||
Loading…
Reference in a new issue