aboutsummaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
authorJindrich Makovicka <makovick@gmail.com>2017-11-12 20:30:30 +0100
committerGerd Hoffmann <kraxel@redhat.com>2017-11-16 09:57:47 +0100
commitcd6d78b71843df2cb0a7228b935cfb9833b65c65 (patch)
tree1b2ef4655f94dcd31d7b52b6980d58c6459bb081 /ui
parent253347e100a6cd142fc88e26c4b4297410e75ddf (diff)
downloadqemu-cd6d78b71843df2cb0a7228b935cfb9833b65c65.zip
qemu-cd6d78b71843df2cb0a7228b935cfb9833b65c65.tar.gz
qemu-cd6d78b71843df2cb0a7228b935cfb9833b65c65.tar.bz2
sdl2: Fix dead keyboard after fullsceen
Signed-off-by: Jindrich Makovicka <makovick@gmail.com> Message-Id: <20171112193032.9724-7-makovick@gmail.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'ui')
-rw-r--r--ui/sdl2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/sdl2.c b/ui/sdl2.c
index d0f16f6..cf05214 100644
--- a/ui/sdl2.c
+++ b/ui/sdl2.c
@@ -442,6 +442,7 @@ static void handle_keyup(SDL_Event *ev)
sdl2_reset_keys(scon);
return;
}
+ sdl2_reset_keys(scon);
gui_keysym = 0;
}
if (!gui_keysym) {