Re: [PATCH libinput 6/8] evdev: drop the button count when releasing keys on remove

2014-08-21 Thread Jonas Ã…dahl
On Wed, Aug 20, 2014 at 01:18:54PM +1000, Peter Hutterer wrote: > We only called this function before device removal, so failing to update the > button state didn't matter. To make this function generic for the upcoming > device suspend/resume, we need to keep track of the button/key count properly

[PATCH libinput 6/8] evdev: drop the button count when releasing keys on remove

2014-08-19 Thread Peter Hutterer
We only called this function before device removal, so failing to update the button state didn't matter. To make this function generic for the upcoming device suspend/resume, we need to keep track of the button/key count properly. Signed-off-by: Peter Hutterer --- src/evdev.c | 8 1 fil