Commit 922ec516 authored by Committed by Frediano Ziglio
Correct a long standing led state bug in XSpice.
The CtrlProc for our keyboard driver incorrectly mapped the device private to a SpiceKbd* intead of to a InputInfoPtr. That resulted in led state being written into the driver name for our driver structure, instead of into the led state. That, in turn, led to a cool bug where if you pressed caps lock, the two second sync timer in the spice server would cause it to attempt to correct the state by pressing caps lock to get the states to match. Since the states will never match, the caps lock effectively cycles on and off every two seconds. Signed-off-by: Jeremy White <firstname.lastname@example.org> Acked-by: Victor Toso <email@example.com>
Showing with 3 additions and 1 deletion