All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] ui/gtk: Hotkey and fullscreen handling fixes
@ 2026-08-11 10:24 dongwon.kim
  2026-08-11 10:24 ` [PATCH v2 1/3] ui/gtk: Enable fullscreen and zoom hotkeys for detached windows dongwon.kim
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: dongwon.kim @ 2026-08-11 10:24 UTC (permalink / raw)
  To: qemu-devel

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



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-10-13 10:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-11 10:24 [PATCH v2 0/3] ui/gtk: Hotkey and fullscreen handling fixes dongwon.kim
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

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.