Skip to content
Snippets Groups Projects
Commit afb92eb9 authored by Gerd Hoffmann's avatar Gerd Hoffmann
Browse files

sdl2: fix hotkey keyup


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: default avatarHoward Spoelstra <hsp.cat7@gmail.com>
Tested-by: default avatarHoward Spoelstra <hsp.cat7@gmail.com>
Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
Reviewed-by: default avatarDaniel P. Berrangé <berrange@redhat.com>
Message-id: 20180220150444.784-1-kraxel@redhat.com
parent a6e0344f
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment