Commit ec1d023
Fix false positive overlap detection for half/third actions
Origin-only matching caused false positives when a larger window
(e.g. maximized) shared the same origin as the target position.
Now requires that the other window fits within the candidate's
dimensions - origins must match AND the other window must be the
same size or smaller. This prevents a maximized window from
triggering the offset on a left-half placement, while still
detecting a quarter behind an eighth at the same grid position.
Fixes #1762 post-merge bug reported by maintainer.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 038b168 commit ec1d023
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
228 | 228 | | |
229 | 229 | | |
230 | 230 | | |
231 | | - | |
| 231 | + | |
232 | 232 | | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
233 | 236 | | |
234 | 237 | | |
235 | 238 | | |
| |||
0 commit comments