Skip to content

Commit 11a2f5a

Browse files
committed
checkpoint: bump verison do new release quickly... macOS27.2 bug with... — project.pbxproj, AgentApp.swift
Auto-checkpoint after successful build (2 files). Task: bump verison do new release quickly... macOS27.2 bug with window not move-able. Changed: M Agent.xcodeproj/project.pbxproj M Agent/AgentApp.swift
1 parent 16c3162 commit 11a2f5a

2 files changed

Lines changed: 8 additions & 4 deletions

File tree

‎Agent.xcodeproj/project.pbxproj‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1782,7 +1782,7 @@
17821782
CODE_SIGN_IDENTITY = "Apple Development";
17831783
CODE_SIGN_STYLE = Automatic;
17841784
COMBINE_HIDPI_IMAGES = YES;
1785-
CURRENT_PROJECT_VERSION = 296;
1785+
CURRENT_PROJECT_VERSION = 297;
17861786
DEAD_CODE_STRIPPING = YES;
17871787
ENABLE_APP_SANDBOX = NO;
17881788
ENABLE_FILE_ACCESS_DOWNLOADS_FOLDER = readwrite;
@@ -1811,7 +1811,7 @@
18111811
"@executable_path/../Frameworks",
18121812
);
18131813
MACOSX_DEPLOYMENT_TARGET = 14.6;
1814-
MARKETING_VERSION = 1.1.96;
1814+
MARKETING_VERSION = 1.1.97;
18151815
PRODUCT_BUNDLE_IDENTIFIER = "$(APP_BUNDLE_ID)";
18161816
PRODUCT_MODULE_NAME = Agent_;
18171817
PRODUCT_NAME = "$(APP_PRODUCT_NAME)";
@@ -1837,7 +1837,7 @@
18371837
CODE_SIGN_IDENTITY = "Apple Development";
18381838
CODE_SIGN_STYLE = Automatic;
18391839
COMBINE_HIDPI_IMAGES = YES;
1840-
CURRENT_PROJECT_VERSION = 296;
1840+
CURRENT_PROJECT_VERSION = 297;
18411841
DEAD_CODE_STRIPPING = YES;
18421842
ENABLE_APP_SANDBOX = NO;
18431843
ENABLE_FILE_ACCESS_DOWNLOADS_FOLDER = readwrite;
@@ -1866,7 +1866,7 @@
18661866
"@executable_path/../Frameworks",
18671867
);
18681868
MACOSX_DEPLOYMENT_TARGET = 14.6;
1869-
MARKETING_VERSION = 1.1.96;
1869+
MARKETING_VERSION = 1.1.97;
18701870
PRODUCT_BUNDLE_IDENTIFIER = "$(APP_BUNDLE_ID)";
18711871
PRODUCT_MODULE_NAME = Agent_;
18721872
PRODUCT_NAME = "$(APP_PRODUCT_NAME)";

‎Agent/AgentApp.swift‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,10 @@ final class AppDelegate: NSObject, NSApplicationDelegate {
114114
DispatchQueue.main.asyncAfter(deadline: .now() + 0.5) {
115115
if let window = NSApplication.shared.windows.first {
116116
window.setFrameAutosaveName("AgentMainWindow")
117+
// macOS 27.2: SwiftUI toolbar hosting views swallow titlebar drags, so the
118+
// window can't be moved by its titlebar. Letting the window background start
119+
// a drag restores moving it (drag any empty area of the window / titlebar).
120+
window.isMovableByWindowBackground = true
117121
self.mainWindow = window
118122
self.windowDelegateProxy.original = window.delegate
119123
window.delegate = self.windowDelegateProxy

0 commit comments

Comments
 (0)