]> git.proxmox.com Git - mirror_qemu.git/commit
ui/cocoa: add zoom-to-fit display option
authorCarwyn Ellis <carwynellis@gmail.com>
Fri, 27 Oct 2023 15:49:20 +0000 (16:49 +0100)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Tue, 7 Nov 2023 07:45:48 +0000 (11:45 +0400)
commit5ec0898b057971f0e03d2ecc8b62c58b50f4cb99
tree6f16c9d87d5bddce5152b34cce0dac803057980a
parent47fd6ab1e334962890bc3e8d2e32857f6594e1c1
ui/cocoa: add zoom-to-fit display option

Provides a display option, zoom-to-fit, that enables scaling of the
display when full-screen mode is enabled.

Also ensures that the corresponding menu item is marked as enabled when
the option is set to on.

Signed-off-by: Carwyn Ellis <carwynellis@gmail.com>
Reviewed-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Message-Id: <20231027154920.80626-2-carwynellis@gmail.com>
qapi/ui.json
ui/cocoa.m