On 12/10/09 15:05, Alexander Graf wrote: > Gerd Hoffmann wrote: >> When capslock is toggled while the vnc window hasn't the focus qemu >> will miss the state change. Add sanity checks for the capslock state >> and toggle it if needed, so hosts and guests idea of capslock state >> stay in sync. Simliar logic for numlock is present in qemu already. >> >> Signed-off-by: Gerd Hoffmann >> > > This commit breaks the shift key in VNC for me. Does the attached patch fix it for you? Guess you are using vncviewer? cheers, Gerd