From: dongwon.kim@intel.com
To: qemu-devel@nongnu.org
Subject: [PATCH v2 0/3] ui/gtk: Hotkey and fullscreen handling fixes
Date: Tue, 11 Aug 2026 03:24:23 -0700 [thread overview]
Message-ID: <20260811102426.35538-1-dongwon.kim@intel.com> (raw)
From: Dongwon Kim <dongwon.kim@intel.com>
This series resolves several issues regarding keyboard shortcuts and
fullscreen behavior in the QEMU GTK UI.
1. Detached (untabified) windows properly support fullscreen and zoom
accelerators.
2. The "Grab Input" accelerator remains functional in fullscreen mode when
the menubar is hidden.
3. Initial fullscreen setup is deferred until the window is properly
realized to avoid display configuration race conditions.
v2:
- Return TRUE in accelerator callbacks (gd_accel_grab_input, gd_win_*) to
comply with the GtkAccelGroupActivate prototype.
- Restore scale to preferred_scale and trigger gd_update_cursor() on
fullscreen exit.
- Deduplicate zoom handling by sharing gd_win_zoom_* across menu actions.
- Guard zoom helpers against NULL / non-GFX consoles.
- Remove leftover debug fprintf in gd_win_grab.
Dongwon Kim (3):
ui/gtk: Enable fullscreen and zoom hotkeys for detached windows
ui/gtk: Register "Grab Input" shortcut to accel_group
ui/gtk: Defer initial fullscreen activation until window is mapped
ui/gtk.c | 188 ++++++++++++++++++++++++++++++++++++++++++-------------
1 file changed, 146 insertions(+), 42 deletions(-)
--
2.43.0
next reply other threads:[~2026-09-21 20:06 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-11 10:24 dongwon.kim [this message]
2026-08-11 10:24 ` [PATCH v2 1/3] ui/gtk: Enable fullscreen and zoom hotkeys for detached windows dongwon.kim
2026-08-11 10:24 ` [PATCH v2 2/3] ui/gtk: Register "Grab Input" shortcut to accel_group dongwon.kim
2026-08-11 10:24 ` [PATCH 3/3] ui/gtk: Defer initial fullscreen activation until window is mapped dongwon.kim
2026-10-07 19:09 ` [PATCH v2 0/3] ui/gtk: Hotkey and fullscreen handling fixes Kim, Dongwon
2026-10-13 10:52 ` Marc-André Lureau
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260811102426.35538-1-dongwon.kim@intel.com \
--to=dongwon.kim@intel.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.