[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH RESEND] ui/gtk: Restore keyboard focus after Pag
From: |
Markus Armbruster |
Subject: |
Re: [Qemu-devel] [PATCH RESEND] ui/gtk: Restore keyboard focus after Page change |
Date: |
Fri, 11 Jul 2014 13:19:48 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
John Snow <address@hidden> writes:
> (Resending for correct email addresses via MAINTAINERS ...)
The note above...
> In the GTK UI, after changing focus to the qemu monitor Notebook Page,
> when restoring focus to the virtual machine page, the keyboard focus is lost
> to a hidden GTK widget. Focus can only be restored to the virtual machine by
> pressing "tab" or any of the four directional arrow keys.
>
> Clicking in the window or grabbing/ungrabbing input does not restore keyboard
> focus to the child widget.
>
> This patch adjusts the Notebook page switching callback to automatically
> steal keyboard focus on the Page switch event, so that keyboard input
> does not appear to break or disappear after tabbing to the QEMU monitor.
>
> Signed-off-by: John Snow <address@hidden>
> ---
... should go here next time.
> ui/gtk.c | 9 ++++++---
> 1 file changed, 6 insertions(+), 3 deletions(-)
[...]