Skip to content
  • Jeremy White's avatar
    Correct a long standing led state bug in XSpice. · 922ec516
    Jeremy White authored and Frediano Ziglio's avatar Frediano Ziglio committed
    
    
    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: default avatarJeremy White <jwhite@codeweavers.com>
    Acked-by: default avatarVictor Toso <victortoso@redhat.com>
    922ec516