commit da90c548a54702239d05184d739f7f8b14d58c8e
parent 87a0bbf90e0b3d1bb693c7cda6035c486994e831
Author: Michael Camilleri <[email protected]>
Date: Thu, 26 Feb 2026 09:12:28 +0900
Fix crash on closing windows on macOS
Co-Authored-By: Codex GPT 5.3 <[email protected]>
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/ListlessMac/ListlessMacApp.swift b/ListlessMac/ListlessMacApp.swift
@@ -107,6 +107,7 @@ class AppDelegate: NSObject, NSApplicationDelegate, NSMenuItemValidation {
window.minSize = NSSize(width: 320, height: 240)
window.titleVisibility = .hidden
window.titlebarAppearsTransparent = true
+ window.isReleasedWhenClosed = false
window.isRestorable = false
window.center()
window.makeKeyAndOrderFront(nil)