diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2012-04-11 09:43:23 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2012-04-11 10:24:36 +1000 |
commit | 72cfc1a097dc1e09d2cd9415ef7855a2cef92351 (patch) | |
tree | 4ab9a3042e1c3701ce86f875ee5b6c206a9f7f2e /Xi | |
parent | 10cd6fdc431d2d0835c313b2f5bdda6dcea281fd (diff) |
Xi: fix XITouchClass sourceid assignment
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
Diffstat (limited to 'Xi')
-rw-r--r-- | Xi/xiquerydevice.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Xi/xiquerydevice.c b/Xi/xiquerydevice.c index 749bc24c9..15c8b2a7b 100644 --- a/Xi/xiquerydevice.c +++ b/Xi/xiquerydevice.c @@ -430,7 +430,7 @@ ListTouchInfo(DeviceIntPtr dev, xXITouchInfo * touch) { touch->type = XITouchClass; touch->length = sizeof(xXITouchInfo) >> 2; - touch->sourceid = touch->sourceid; + touch->sourceid = dev->touch->sourceid; touch->mode = dev->touch->mode; touch->num_touches = dev->touch->num_touches; |