Files
qemu/ui
Dongwon Kim 7385a32751 ui/gtk: Fix focus loss on re-attachment with single VC
When QEMU is launched with a single virtual console (e.g., using
--nodefaults), detaching and then closing the detached window leaves
the main window's notebook without an active focus target which makes
keyboard unfunctional on re-attached VC.

Fix this by explicitly calling gtk_widget_grab_focus on the active
VC's focus widget during the window close handler.

Cc: Marc-André Lureau <marcandre.lureau@redhat.com>
Cc: Philippe Mathieu-Daudé <philmd@linaro.org>
Cc: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Dongwon Kim <dongwon.kim@intel.com>
Message-ID: <20260520002645.1910740-1-dongwon.kim@intel.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2026-05-25 02:01:35 +04:00
..
2026-05-25 02:01:34 +04:00
2026-05-25 02:01:34 +04:00
2021-12-21 10:50:22 +04:00
2021-12-21 10:50:22 +04:00
2026-05-25 01:00:54 +04:00
2026-05-25 02:01:35 +04:00
2026-05-25 02:01:35 +04:00
2026-05-25 02:01:35 +04:00
2026-05-25 02:01:35 +04:00
2026-04-22 12:51:23 +04:00
2022-11-08 10:23:06 +01:00
2023-08-31 19:47:43 +02:00
2026-05-25 02:01:35 +04:00
2026-05-25 01:00:53 +04:00
2026-05-25 01:00:53 +04:00
2026-05-25 02:01:34 +04:00
2026-05-25 02:01:34 +04:00