diff options
author | Andrey Zabolotnyi <zapparello@ya.ru> | 2018-01-12 02:26:12 +0300 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2018-05-29 10:00:26 +1000 |
commit | 2fb95783e04eaf74fa8d051abd94341622a7e01e (patch) | |
tree | bee6d525a393cc7b046e5f9661f4fac624e415d3 /src/apple.c | |
parent | Ignore x/y axis changes on proximity out (diff) | |
download | xf86-input-evdev-2fb95783e04eaf74fa8d051abd94341622a7e01e.tar.gz xf86-input-evdev-2fb95783e04eaf74fa8d051abd94341622a7e01e.tar.bz2 xf86-input-evdev-2fb95783e04eaf74fa8d051abd94341622a7e01e.zip |
Fix generation of proximity-in/out events.
Invoking xf86PostProximityEvent with no valuators does nothing, so we
have to provide a valid valuator set to the call.
https://bugs.freedesktop.org/show_bug.cgi?id=104562
[whot: slight change from 104562
abs_vals is reset on every frame but old_vals is kept around to remember the
last value of the valuator (and is updated to the current values before
processing the frame). We expect the prox in to have x/y, so let's just
unconditionally use old_vals for proximity events.]
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'src/apple.c')
0 files changed, 0 insertions, 0 deletions