diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-03-13 16:25:12 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-03-16 13:29:07 +1000 |
commit | 4eeaee1e5a05ea973cbeb653abf99f2a352edc70 (patch) | |
tree | 3d070ccd042f230ce44745723213ea11c7747f12 | |
parent | 3f801ba62ac493d4aeb664a5ae638e3fb0c9a262 (diff) |
xkb: xkbi has a pointer to the device - use this instead of inputInfo.pointer.
-rw-r--r-- | xkb/xkbActions.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xkb/xkbActions.c b/xkb/xkbActions.c index f3fcef05e..fe58a1867 100644 --- a/xkb/xkbActions.c +++ b/xkb/xkbActions.c @@ -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(); |