diff options
author | Adam Jackson <ajax@redhat.com> | 2008-03-09 16:15:14 -0400 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2008-03-09 16:15:14 -0400 |
commit | 72083976127a1ff15f79b0316570a947e6dd2b42 (patch) | |
tree | e9f1502e6c87ccdc2d4e812259025ff1f63d713c | |
parent | c250f843833b1aac3732ca97af5b1c0076996598 (diff) |
Fix cut-and-paste error in abs-to-rel translation.
-rw-r--r-- | src/evdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/evdev.c b/src/evdev.c index 39c274b..9f5d160 100644 --- a/src/evdev.c +++ b/src/evdev.c @@ -300,7 +300,7 @@ EvdevReadInput(InputInfoPtr pInfo) if (pEvdev->tool) { /* meaning, touch is active */ if (pEvdev->old_x != -1) dx = pEvdev->abs_x - pEvdev->old_x; - if (pEvdev->old_x != -1) + if (pEvdev->old_y != -1) dy = pEvdev->abs_y - pEvdev->old_y; pEvdev->old_x = pEvdev->abs_x; pEvdev->old_y = pEvdev->abs_y; |