From fbc481250d99cebb22d2fb1efaf5adf1e3f88477 Mon Sep 17 00:00:00 2001 From: Nikolay Edigaryev Date: Mon, 8 Jan 2024 18:25:56 +0400 Subject: [PATCH] tart run: disable dynamic display reconfiguration for Linux (#697) --- Sources/tart/Commands/Run.swift | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Sources/tart/Commands/Run.swift b/Sources/tart/Commands/Run.swift index 91fc2ca..5969c34 100644 --- a/Sources/tart/Commands/Run.swift +++ b/Sources/tart/Commands/Run.swift @@ -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 }