Add a Settings toggle to keep window size when moving a maximized window to another display#1791
Open
kmundnic wants to merge 1 commit into
Open
Add a Settings toggle to keep window size when moving a maximized window to another display#1791kmundnic wants to merge 1 commit into
kmundnic wants to merge 1 commit into
Conversation
… displays Moving a maximized window to the next/previous display re-maximizes it to fill the destination display. This has been toggleable via the hidden `autoMaximize` default, but there was no UI for it. Expose it as a "Maximize window when moved to another display" checkbox in Settings, checked by default so existing behavior is unchanged. Unchecking it keeps the window's size and centers it on the destination display, which is preferable when displays differ in size (e.g. a window maximized on a laptop screen shouldn't grow to fill a larger external monitor). - Add the checkbox + description in SettingsViewController, mirroring the existing greenButtonOverride / combinedDisplayMode programmatic checkboxes - Register the new strings in the Main.xcstrings catalog - Document the autoMaximize default in TerminalCommands.md
Owner
|
Thanks for contributing! Although this was purposefully left out of the UI to avoid having too many toggles, my plan is to rework some of the UI to allow a lot more things to go in to a different location. I'm ok moving forward with merging this in when I get a chance to review it, with the notion that I will move it to the new location when I have it ready. |
Author
kmundnic
marked this pull request as ready for review
July 19, 2026 20:33
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
Moving a maximized window to the next/previous display currently re-maximizes it to fill the destination display. This is already toggleable via the hidden
autoMaximizedefault, but there's no UI for it, so most users don't know it exists.This PR exposes it as a "Maximize window when moved to another display" checkbox in Settings, checked by default so existing behavior is unchanged. Unchecking it keeps the window's size and centers it on the destination display — preferable when displays differ in size (e.g. a window maximized on a laptop screen shouldn't grow to fill a larger external monitor). This restores the behavior Spectacle had.
Changes
SettingsViewController: add the checkbox + description, mirroring the existinggreenButtonOverride/combinedDisplayModeprogrammatic checkboxes (property, toggle action, initializer, config-import refresh).Main.xcstrings: register the two new strings.TerminalCommands.md: document theautoMaximizedefault.Testing
Built and ran locally on a dual-monitor setup: