Skip to content

feat: Auto Zone association#45

Open
joaomcarlos wants to merge 2 commits intorohanrhu:mainfrom
joaomcarlos:feature/auto-zone-association
Open

feat: Auto Zone association#45
joaomcarlos wants to merge 2 commits intorohanrhu:mainfrom
joaomcarlos:feature/auto-zone-association

Conversation

@joaomcarlos
Copy link

@joaomcarlos joaomcarlos commented Oct 8, 2025

Hi,

This adds the ability to auto-associate a window to a zone based on size/position within a tolerance of 6px.

If a window was not "placed" by the current running app, it wouldn't be tracked correctly. So, after a restart or a re-build, the window cycling functionality wouldn't work correctly.

This adds the ability to automatically track the windows with association with their correct zone, thus, everything will work as if you had just "placed" the window with the current running app.

What this is not: #13 Window affinity to zones (the ability for windows to have affinity to a zone so they move to the correct zone on layout changes)

A "normal user" won't see anything new with this change, other than the behavior being more consistent.

PS: I had originally wrote this description in a more detailed manner but GitHub saw fit to throw an error and I lost the text, so, this one is more straight to the point and less floral :D (and yes, i will cmd+a and cmd+c it before hitting the "Update comment" button)

@joaomcarlos joaomcarlos changed the title Auto one association feat: Auto one association Oct 8, 2025
@joaomcarlos joaomcarlos force-pushed the feature/auto-zone-association branch from d011bab to de7c75d Compare October 8, 2025 10:15
@joaomcarlos
Copy link
Author

  • Rebased this feature on top of main to separate it from earlier pull request
  • Added fixes to threading issues caused by the different call path

@joaomcarlos joaomcarlos changed the title feat: Auto one association feat: Auto Zone association Oct 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant