diff options
author | Sergio Lopez <slp@redhat.com> | 2019-02-04 13:20:43 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2019-02-05 09:52:36 +0100 |
commit | a0fbb9a8bc600063540443258c66c31f31048008 (patch) | |
tree | 676a89415bf30d408d91e615a70947a1c5c3ff23 /ui/keymaps.c | |
parent | 09bd7ba9f5f7bd1c0cf62ba89731ae3cc6d1c72e (diff) |
ui: don't send any event if delta_y == 0
When the user raises their fingers from the touchpad, we may receive a
GDK_SMOOTH_SCROLL event with delta_y == 0. Avoid generating a WHEEL_UP
event in this situation.
Signed-off-by: Sergio Lopez <slp@redhat.com>
Message-id: 20190204122043.43007-1-slp@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'ui/keymaps.c')
0 files changed, 0 insertions, 0 deletions