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

This commit is contained in:
Nikolay Edigaryev
2024-01-08 14:25:56 +00:00
committed by GitHub
parent 35538c2c5d
commit fbc481250d
+4 -1
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
}