Skip to content

Commit 2738e8e

Browse files
committed
1.0.2
- ⌘H was not working properly on glued windows. Now ⌘H will unglue windows that are about to be hidden - Widened the Settings window a bit to accomodate some lengthy translations
1 parent 6e2cb87 commit 2738e8e

File tree

5 files changed

+13
-10
lines changed

5 files changed

+13
-10
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ All notable changes to Window Glue will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [1.0.2] - 2025-07-09
9+
10+
### Fixed
11+
- ⌘H was not working properly on glued windows. Now ⌘H will unglue windows that are about to be hidden
12+
- Widened the Settings window a bit to accomodate some lengthy translations
13+
814
## [1.0.1] - 2025-07-07
915

1016
### Fixed

Window Glue.xcodeproj/project.pbxproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@
287287
CODE_SIGN_ENTITLEMENTS = "Window Glue/Window_Glue.entitlements";
288288
CODE_SIGN_STYLE = Automatic;
289289
COMBINE_HIDPI_IMAGES = YES;
290-
CURRENT_PROJECT_VERSION = 2025.7.2;
290+
CURRENT_PROJECT_VERSION = 2025.7.3;
291291
DEVELOPMENT_TEAM = 45QT7L9Q3U;
292292
ENABLE_HARDENED_RUNTIME = YES;
293293
ENABLE_PREVIEWS = YES;
@@ -301,7 +301,7 @@
301301
"@executable_path/../Frameworks",
302302
);
303303
MACOSX_DEPLOYMENT_TARGET = 13.0;
304-
MARKETING_VERSION = 1.0.1;
304+
MARKETING_VERSION = 1.0.2;
305305
PRODUCT_BUNDLE_IDENTIFIER = com.minttype.glue;
306306
PRODUCT_NAME = "$(TARGET_NAME)";
307307
REGISTER_APP_GROUPS = YES;
@@ -318,7 +318,7 @@
318318
CODE_SIGN_ENTITLEMENTS = "Window Glue/Window_Glue.entitlements";
319319
CODE_SIGN_STYLE = Automatic;
320320
COMBINE_HIDPI_IMAGES = YES;
321-
CURRENT_PROJECT_VERSION = 2025.7.2;
321+
CURRENT_PROJECT_VERSION = 2025.7.3;
322322
DEVELOPMENT_TEAM = 45QT7L9Q3U;
323323
ENABLE_HARDENED_RUNTIME = YES;
324324
ENABLE_PREVIEWS = YES;
@@ -332,7 +332,7 @@
332332
"@executable_path/../Frameworks",
333333
);
334334
MACOSX_DEPLOYMENT_TARGET = 13.0;
335-
MARKETING_VERSION = 1.0.1;
335+
MARKETING_VERSION = 1.0.2;
336336
PRODUCT_BUNDLE_IDENTIFIER = com.minttype.glue;
337337
PRODUCT_NAME = "$(TARGET_NAME)";
338338
REGISTER_APP_GROUPS = YES;

Window Glue.xcodeproj/xcuserdata/conxt.xcuserdatad/xcschemes/xcschememanagement.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<key>Window Glue.xcscheme_^#shared#^_</key>
88
<dict>
99
<key>orderHint</key>
10-
<integer>0</integer>
10+
<integer>1</integer>
1111
</dict>
1212
</dict>
1313
</dict>

Window Glue/AppDelegate.swift

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -119,10 +119,7 @@ class AppDelegate: NSObject, NSApplicationDelegate {
119119
}
120120

121121
state.on { (event: ApplicationIsHiddenChangedEvent) in
122-
guard event.newValue == false else { return }
123-
for pair in windowGlues.filter({ $0.2 == event.application.mainWindow.value }) {
124-
_ = pair.0.application.mainWindow.set(pair.0)
125-
}
122+
windowGlues.removeAll(where: { $0.0.application == event.application || $0.2.application == event.application })
126123
}
127124

128125
state.on { (event: ApplicationMainWindowChangedEvent) in

Window Glue/Settings.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ struct SettingsWindow: View {
7171
.buttonStyle(.borderedProminent)
7272
}
7373
}
74-
.frame(width: 300, height: 240)
74+
.frame(width: 350, height: 240)
7575
.padding()
7676
.onAppear {
7777
launchAtStartup = isLaunchAtStartupEnabled()

0 commit comments

Comments
 (0)