tart run: disable dynamic display reconfiguration for Linux (#697)

This commit is contained in:
Nikolay Edigaryev 2024-01-08 18:25:56 +04:00 committed by GitHub
parent 35538c2c5d
commit fbc481250d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -610,7 +610,10 @@ struct VMView: NSViewRepresentable {
// Enable automatic display reconfiguration
// for guests that support it
if #available(macOS 14.0, *) {
//
// This is disabled for Linux because of poor HiDPI
// support, which manifests in fonts being too small
if #available(macOS 14.0, *), vm.config.os != .linux {
machineView.automaticallyReconfiguresDisplay = true
}