summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChase Douglas <chase.douglas@ubuntu.com>2010-11-10 12:54:38 -0500
committerChase Douglas <chase.douglas@ubuntu.com>2010-11-10 12:54:38 -0500
commite4aade848119cc4f8dea33782196ba2d46ee813d (patch)
tree38f4a50739d3aae57294dc6b9c271c538678ac3c
parent17772fc4c2a714417259905e88b9abcdf79ac545 (diff)
Fix FinishTouchPoint call
-rw-r--r--Xi/exevents.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Xi/exevents.c b/Xi/exevents.c
index f04c9e799..81f80601e 100644
--- a/Xi/exevents.c
+++ b/Xi/exevents.c
@@ -1039,7 +1039,7 @@ ProcessTouchEvent(DeviceEvent *ev, DeviceIntPtr device)
if (ev->type == ET_TouchEnd)
{
- FinishTouchPoint(device, touch);
+ FinishTouchPoint(device, ev->valuators.data[t->id_axis]);
sprite->spriteTraceGood = 0;
}