Bug 40045

Summary: Server should clear keyboard state on client disconnect
Product: Spice Reporter: Hans de Goede <jwrdegoede>
Component: serverAssignee: Spice Bug List <spice-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Hans de Goede 2011-08-12 08:34:58 UTC
Without this something like the following can happen:
1) client connects
2) client sends alt press key event
3) client disconnects without any cleanup (kill -9 it to reproduce)

4) Another client connects
5) guest still think alt is pressed
6) All key presses register as alt-foo
Comment 1 Marc-Andre Lureau 2014-11-03 01:49:17 UTC
commit 2d28da3c17f115fb1be4e5045e4a7a67fd1158b9
Author: Marc-André Lureau <marcandre.lureau@gmail.com>
Date:   Fri Oct 4 18:48:41 2013 +0200

    server: release all pressed keys on client disconnect

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.