Skip to content
Commit caa8f3fe authored by Peter Hutterer's avatar Peter Hutterer
Browse files

touchpad: release all button presses on device suspend



This leaves a bug open, on a Lenovo T440 generation touchpad with top software
buttons, the button will not be leased correctly. This is caused by
device->is_suspended=true by the time we try to clear the state and the
button events thus getting filtered.

This used to affect all touchpads, this patch just moves it so it only affects
the T440-like devices now.

Fixes #233

Signed-off-by: default avatarPeter Hutterer <peter.hutterer@who-t.net>
parent e8625ef8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment