On Tue, Feb 20, 2018 at 04:04:44PM +0100, Gerd Hoffmann wrote: > After some hotkey was pressed sdl2 doesn't forward the first modifier > keyup event to the guest, resulting in stuck modifier keys. > > Fix the logic in handle_keyup(). Also gui_key_modifier_pressed doesn't > need to be a global variable. > > Reported-by: Howard Spoelstra <hsp.c...@gmail.com> > Tested-by: Howard Spoelstra <hsp.c...@gmail.com> > Signed-off-by: Gerd Hoffmann <kra...@redhat.com> > --- > ui/sdl2.c | 14 +++----------- > 1 file changed, 3 insertions(+), 11 deletions(-)
Reviewed-by: Daniel P. Berrangé <berra...@redhat.com> Regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|