From 9d2d9ca7a39225ae5844ce8ce4c4ca9533113f78 Mon Sep 17 00:00:00 2001 From: Gregory Anders Date: Fri, 27 Oct 2023 10:07:15 -0500 Subject: [PATCH] maacos: update doc comment for PrimaryView.window --- macos/Sources/Features/Primary Window/PrimaryView.swift | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/macos/Sources/Features/Primary Window/PrimaryView.swift b/macos/Sources/Features/Primary Window/PrimaryView.swift index 9744ed234..9cff1c93f 100644 --- a/macos/Sources/Features/Primary Window/PrimaryView.swift +++ b/macos/Sources/Features/Primary Window/PrimaryView.swift @@ -14,8 +14,9 @@ struct PrimaryView: View { // If this is set, this is the base configuration that we build our surface out of. let baseConfig: Ghostty.SurfaceConfiguration? - // We need access to our window to know if we're the key window to determine - // if we show the quit confirmation or not. + // We need access to our window to know if we're the key window and to + // modify window properties in response to events from the surface (e.g. + // updating the window title) var window: NSWindow // This handles non-native fullscreen