Re: [PATCH libinput 7/8] evdev: ignore excessive releases of a button or key

2014-08-21 Thread Jonas Ã…dahl
On Wed, Aug 20, 2014 at 01:18:55PM +1000, Peter Hutterer wrote: > When we're suspending a touchpad, several events triggered by timers may still > be waiting in the background. We still need to release all buttons/keys > immediately though so we get an uneven number of release events: one from > re

[PATCH libinput 7/8] evdev: ignore excessive releases of a button or key

2014-08-19 Thread Peter Hutterer
When we're suspending a touchpad, several events triggered by timers may still be waiting in the background. We still need to release all buttons/keys immediately though so we get an uneven number of release events: one from release_pressed_keys() and one when the timers expire and send the release