aboutsummaryrefslogtreecommitdiff
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
parent253347e100a6cd142fc88e26c4b4297410e75ddf (diff)
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>
-rw-r--r--ui/sdl2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/sdl2.c b/ui/sdl2.c
index d0f16f60f4..cf05214f97 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) {