aboutsummaryrefslogtreecommitdiff
path: root/ui/sdl2-input.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2019-02-08 08:27:44 +0100
committerGerd Hoffmann <kraxel@redhat.com>2019-02-21 10:43:10 +0100
commitd51b8cb9479d369f85f40af812be0b7cef5bc6fd (patch)
tree28085b2462f9a073c3e83589054e45c9f7522081 /ui/sdl2-input.c
parentbe812c0ab7d5ab741d0d87387a75a0e8bb6461e7 (diff)
downloadqemu-d51b8cb9479d369f85f40af812be0b7cef5bc6fd.zip
qemu-d51b8cb9479d369f85f40af812be0b7cef5bc6fd.tar.gz
qemu-d51b8cb9479d369f85f40af812be0b7cef5bc6fd.tar.bz2
sdl2: drop qemu_input_event_send_key_qcode call
qkbd_state_key_event() does that for us. Fixes: 07333e1ca3 kbd-state: use state tracker for sdl2 Reported-by: BALATON Zoltan <balaton@eik.bme.hu> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Tested-by: BALATON Zoltan <balaton@eik.bme.hu> Message-id: 20190208072744.10687-1-kraxel@redhat.com
Diffstat (limited to 'ui/sdl2-input.c')
-rw-r--r--ui/sdl2-input.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/ui/sdl2-input.c b/ui/sdl2-input.c
index 664364a..fb345f4 100644
--- a/ui/sdl2-input.c
+++ b/ui/sdl2-input.c
@@ -54,8 +54,5 @@ void sdl2_process_key(struct sdl2_console *scon,
break;
}
}
- } else {
- qemu_input_event_send_key_qcode(con, qcode,
- ev->type == SDL_KEYDOWN);
}
}