Skip to content
Snippets Groups Projects
Commit 90299556 authored by Peter Hutterer's avatar Peter Hutterer
Browse files

dix: when disabling a device, release all buttons and keys


A suspend-induced device disable may happen before the device gets to see
the button release event. On resume, the server's internal state still has
some buttons pressed, causing inconsistent behaviour.

Force the release and the matching events to be sent to the client.

Signed-off-by: default avatarPeter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: default avatarChase Douglas <chase.douglas@canonical.com>
(cherry picked from commit f3410b97)

Conflicts:

	dix/devices.c
parent b53cdf4c
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment