evdev: release current touches when the device is suspended
authorPeter Hutterer <peter.hutterer@who-t.net>
Tue, 2 Aug 2016 07:03:54 +0000 (17:03 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Wed, 7 Sep 2016 01:17:03 +0000 (11:17 +1000)
commit61e8542d6e578fd6fa7679452738c9ad3edf22e7
tree86042876aee5b0a075711d5c198f400187915da3
parentb22dcab4631f3de41faa3e536080ffbd6bea6e7b
evdev: release current touches when the device is suspended

Previously suspending a touch device with at least one touch down would never
release the touch point.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Jason Gerecke <jason.gerecke@wacom.com>
src/evdev.c
test/device.c