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:
Eamon Walsh 2007-09-28 13:34:18 -04:00 • committed by Eamon Walsh
commit 8b54865720
25 changed files with 217 additions and 175 deletions

View file

@ -46,7 +46,7 @@ xEvent ev;
int x,y;
DevicePtr ptr;
if ((ptr = LookupPointerDevice())==NULL)
if ((ptr = (DevicePtr)inputInfo.pointer)==NULL)
return;
GetSpritePosition(&x,&y);
ev.u.u.type = event;