kdrive: lastx/y needs to be set to the event coordinates #17728

X.Org Bug 17728 <http://bugs.freedesktop.org/show_bug.cgi?id=17728>
This commit is contained in:
Peter Hutterer 2008-10-09 16:50:54 +10:30
parent decec14219
commit d58f2c30c6

View File

@ -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;