diff options
author | Sergio Lopez | 2019-02-04 13:20:43 +0100 |
---|---|---|
committer | Gerd Hoffmann | 2019-02-05 09:52:36 +0100 |
commit | a0fbb9a8bc600063540443258c66c31f31048008 (patch) | |
tree | 676a89415bf30d408d91e615a70947a1c5c3ff23 /ui/egl-helpers.c | |
parent | Remove deprecated -no-frame option (diff) | |
download | qemu-a0fbb9a8bc600063540443258c66c31f31048008.tar.gz qemu-a0fbb9a8bc600063540443258c66c31f31048008.tar.xz qemu-a0fbb9a8bc600063540443258c66c31f31048008.zip |
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/egl-helpers.c')
0 files changed, 0 insertions, 0 deletions