diff options
author | Zack Marvel <zpmarvel@gmail.com> | 2021-02-21 10:06:13 -0700 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2021-03-04 09:34:55 +0100 |
commit | 8eb13bbbac08aa077efcf9877c9646c4497d766c (patch) | |
tree | a4524654106e411b25c4ae1eae392ef4e5df30b6 /util | |
parent | 1e8b6f2b4989d3d2567befa00cd9c4430190f433 (diff) | |
download | qemu-8eb13bbbac08aa077efcf9877c9646c4497d766c.zip qemu-8eb13bbbac08aa077efcf9877c9646c4497d766c.tar.gz qemu-8eb13bbbac08aa077efcf9877c9646c4497d766c.tar.bz2 |
ui/gtk: vte: fix sending multiple characeters
When using the GTK UI with libvte, multicharacter keystrokes are not
sent correctly (such as arrow keys). gd_vc_in should check the
CharBackend's can_receive instead of assuming multiple characters can be
received. This is not an issue for e.g. the SDL UI because
qemu_chr_be_write is called with len=1 for each character (SDL sends
more than once keystroke).
Modify gd_vc_in to call qemu_chr_be_write multiple times if necessary.
Buglink: https://bugs.launchpad.net/qemu/+bug/1407808
Signed-off-by: Zack Marvel <zpmarvel@gmail.com>
Message-Id: <20210221170613.13183-2-zpmarvel@gmail.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'util')
0 files changed, 0 insertions, 0 deletions