On Wed, 13 Dec 2023, Akihiko Odaki wrote:
On 2023/12/13 0:38, Rene Engel wrote:

--- Ursprüngliche Nachricht ---
Von: Akihiko Odaki <akihiko.od...@daynix.com>
Datum: 11.12.2023 06:39:35
An: Peter Maydell <peter.mayd...@linaro.org>, Philippe Mathieu-Daudé <phi...@linaro.org>, Gerd Hoffmann <kra...@redhat.com>, Marc-André Lureau <marcandre.lur...@redhat.com>
Betreff: [PATCH v6] ui/cocoa: Use NSWindow's ability to resize

Tested-by:<reneenge...@emailn.de>

Thanks for testing.


This patch works very well on MacOs Sonoma with the Qemu Cocoa output. Thanks

Since you are dealing with the Cocoa output under MacOs, I have a request for you. Is it possible to use the Cocoa output with zoom to fit in full screen mode like it is possible with the GTK output with "-display gtk,zoom-to-fit=on -full-screen"? > I mainly start Qemu using a start script that immediately puts Qemu into full screen.


It should be possible, at least with this patch. Recently, Carwyn Ellis added the support for the command line option (commit 5ec0898b0579 ("ui/cocoa: add zoom-to-fit display option")) so your script can utilize it.

Looks like commit 5ec0898b0579 missed to update documentation so this option does not show up in https://www.qemu.org/docs/master/system/invocation.html#hxtool-3
Should this be added to qemu-options.hx?

By the way is there a way to get those options from the command line? I've tried this but got an error:

$ qemu-system-ppc -display sdl,help
qemu-system-ppc: -display sdl,help: Help is not available for this option

Regards,
BALATON Zoltan

Reply via email to