evdev: Reset accumulate values when we flush motion events
authorKristian Høgsberg <krh@bitplanet.net>
Fri, 18 Nov 2011 15:42:34 +0000 (10:42 -0500)
committerJonas Ådahl <jadahl@gmail.com>
Sun, 10 Nov 2013 16:51:26 +0000 (17:51 +0100)
commit0090c3b29ea6e82324b5d41b11e634d56c7b74ed
tree5cfaedbd4a9daef1e52b35101e624c9f5f37df8c
parentc6fc7c3d218a136cac5976b1fcf35a94a364533a
evdev: Reset accumulate values when we flush motion events

Otherwise we end up reporting all motion events twice.
compositor/evdev.c