Skip to content

✨ Respect the window tiling spacing set in com.apple.WindowManager#666

Merged
mrkai77 merged 3 commits into
mrkai77:developfrom
zenangst:develop
Jan 10, 2025
Merged

✨ Respect the window tiling spacing set in com.apple.WindowManager#666
mrkai77 merged 3 commits into
mrkai77:developfrom
zenangst:develop

Conversation

@zenangst
Copy link
Copy Markdown
Contributor

@zenangst zenangst commented Jan 9, 2025

In macOS Sequoia, you can tweak the spacing around windows. The key is TiledWindowSpacing.

I also bumped up the default from 8 to 9 (I think that's right based on my testing).

If you want to give it a shot, just run these commands.

defaults write com.apple.WindowManager EnableTiledWindowMargins -bool false; 
defaults write com.apple.WindowManager TiledWindowSpacing -float 16; 
defaults write com.apple.WindowManager EnableTiledWindowMargins -bool true;

Note
Toggling EnableTiledWindowMargins will move the windows you already have tiled. So, you don't need to restart the WindowManager to make the change.

@zenangst zenangst changed the title Respect the window tiling spacing set in com.apple.WindowManager. Respect the window tiling spacing set in com.apple.WindowManager Jan 9, 2025
Copy link
Copy Markdown
Owner

@mrkai77 mrkai77 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great find! I made the small change of separating EnableTiledWindowMargins and TiledWindowSpacing, just in case we make this configurable from Loop in the future, but otherwise looked perfect!

@mrkai77 mrkai77 merged commit e58933a into mrkai77:develop Jan 10, 2025
@mrkai77 mrkai77 changed the title Respect the window tiling spacing set in com.apple.WindowManager ✨ Respect the window tiling spacing set in com.apple.WindowManager Jan 10, 2025
g7aaa

This comment was marked as spam.

Repository owner locked and limited conversation to collaborators Sep 19, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants