[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] ui/gtk: vte: fix sending multiple characeters
From: |
Gerd Hoffmann |
Subject: |
Re: [PATCH] ui/gtk: vte: fix sending multiple characeters |
Date: |
Mon, 22 Feb 2021 12:39:17 +0100 |
On Sun, Feb 21, 2021 at 10:06:13AM -0700, Zack Marvel wrote:
> 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>
Added to ui patch queue.
thanks,
Gerd