commit | a0fbb9a8bc600063540443258c66c31f31048008 | [log] [tgz] |
---|---|---|
author | Sergio Lopez <slp@redhat.com> | Mon Feb 04 13:20:43 2019 +0100 |
committer | Gerd Hoffmann <kraxel@redhat.com> | Tue Feb 05 09:52:36 2019 +0100 |
tree | 676a89415bf30d408d91e615a70947a1c5c3ff23 | |
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>