From d58f2c30c64e8b2d8179dac06e0a54be06099da6 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 9 Oct 2008 16:50:54 +1030 Subject: [PATCH] kdrive: lastx/y needs to be set to the event coordinates #17728 X.Org Bug 17728 --- hw/kdrive/linux/tslib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/kdrive/linux/tslib.c b/hw/kdrive/linux/tslib.c index 50cd7cbd2..e0e860e48 100644 --- a/hw/kdrive/linux/tslib.c +++ b/hw/kdrive/linux/tslib.c @@ -95,8 +95,8 @@ TsRead (int fd, void *closure) y = event.y - private->lasty; } } - private->lastx = x; - private->lasty = y; + private->lastx = event.x; + private->lasty = event.y; } else { flags = 0; x = private->lastx;