xkb: xkbi has a pointer to the device - use this instead of inputInfo.pointer.

This commit is contained in:
Peter Hutterer 2009-03-13 16:25:12 +10:00
parent 3f801ba62a
commit 4eeaee1e5a

View File

@ -812,7 +812,7 @@ ProcessInputProc backupproc;
if ((filter->keycode!=0)&&(filter->keycode!=keycode))
return 1;
GetSpritePosition(inputInfo.pointer, &x,&y);
GetSpritePosition(xkbi->device, &x,&y);
ev.header = ET_Internal;
ev.length = sizeof(DeviceEvent);
ev.time = GetTimeInMillis();