diff options
author | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2013-11-25 19:31:13 +0100 |
---|---|---|
committer | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2013-11-25 19:35:52 +0100 |
commit | 2aeeb28dd1e9eba50c61bf16a3aa3d9313d9e4c8 (patch) | |
tree | b0eca7c64e568a0af950fba9f21168bccc210fe5 /waftools/inflectors.py | |
parent | 98fca3531841221b566d6799951dd9b1fe9cde75 (diff) | |
download | mpv-2aeeb28dd1e9eba50c61bf16a3aa3d9313d9e4c8.tar.bz2 mpv-2aeeb28dd1e9eba50c61bf16a3aa3d9313d9e4c8.tar.xz |
input: discard precise scrolling commands with no value
Apparently Cocoa precise scrolling generates a lot of spurious events with
a delta that is equal to 0.0. Make sure that they are discarded and not added
to the input queue.
Even though this only known to happen with Cocoa, I implemented this at core
level since it makes sense in general.
Fixes: #310
Diffstat (limited to 'waftools/inflectors.py')
0 files changed, 0 insertions, 0 deletions