mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-21 20:26:45 +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
|
|
@ -806,7 +806,7 @@ Bool
|
|||
XkbFilterEvents(ClientPtr pClient,int nEvents,xEvent *xE)
|
||||
{
|
||||
int i, button_mask;
|
||||
DeviceIntPtr pXDev = (DeviceIntPtr)LookupKeyboardDevice();
|
||||
DeviceIntPtr pXDev = inputInfo.keyboard;
|
||||
XkbSrvInfoPtr xkbi;
|
||||
|
||||
xkbi= pXDev->key->xkbInfo;
|
||||
|
|
|
|||
Loading…
Reference in a new issue