summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-03-13 16:25:12 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-03-16 13:29:07 +1000
commit4eeaee1e5a05ea973cbeb653abf99f2a352edc70 (patch)
tree3d070ccd042f230ce44745723213ea11c7747f12
parentxkb: the VCP can post device events, don't stop xkb filtering on it. (diff)
downloadxserver-4eeaee1e5a05ea973cbeb653abf99f2a352edc70.tar.gz
xserver-4eeaee1e5a05ea973cbeb653abf99f2a352edc70.tar.bz2
xserver-4eeaee1e5a05ea973cbeb653abf99f2a352edc70.zip
xkb: xkbi has a pointer to the device - use this instead of inputInfo.pointer.
-rw-r--r--xkb/xkbActions.c2
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();