On 12/19/18 6:08 AM, Gerd Hoffmann wrote: > Use the new keyboard state tracked for sdl2. We can drop the modifier s/tracked/tracker/ ? > state tracking from sdl2. Also keyup code is simpler, the state tracker > will take care to not send suspious keyup events to the guest. s/suspious/suspicious/ > > Signed-off-by: Gerd Hoffmann > --- > include/ui/sdl2.h | 2 ++ > ui/sdl2-input.c | 40 +++------------------------------------- > ui/sdl2.c | 12 +++--------- > 3 files changed, 8 insertions(+), 46 deletions(-) > -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3226 Virtualization: qemu.org | libvirt.org