diff options
author | Paulo Zanoni <paulo.r.zanoni@intel.com> | 2011-12-14 15:23:36 -0200 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2011-12-15 14:58:59 +1000 |
commit | 8d6dfd13b0c4177305555294218e366a6cddc83f (patch) | |
tree | 670667759a98f7d9ffce5d2e5a21aff676232562 /src/emuWheel.c | |
parent | Move misplaced #endif caused by smooth-scrolling merge (diff) | |
download | xf86-input-evdev-8d6dfd13b0c4177305555294218e366a6cddc83f.tar.gz xf86-input-evdev-8d6dfd13b0c4177305555294218e366a6cddc83f.tar.bz2 xf86-input-evdev-8d6dfd13b0c4177305555294218e366a6cddc83f.zip |
Fix absolute events with swapped axes
We were correctly swapping the valuator values, but we were not
calling valuator_mask_unset() when needed, so the cursor kept jumping
to the edges.
This patch does the swapping before the main "for", so we don't need to
store unswapped_{x,y} and unswapped_isset_{x,y} even when we don't need
to swap.
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'src/emuWheel.c')
0 files changed, 0 insertions, 0 deletions