gardesk/ers / d3fb145

Browse files

Correct stale per-border-cid note; ers already uses main cid

Authored by mfwolffe <wolffemf@dukes.jmu.edu>
SHA
d3fb145bf72c2c342ede3f4bdd9ab4693f33719b
Parents
b6ab4ca
Tree
7dab2b3

1 changed file

StatusFile+-
M CLAUDE.md 1 1
CLAUDE.mdmodified
@@ -37,7 +37,7 @@ These are hard-won discoveries from debugging undocumented APIs:
3737
 
3838
 1. **SLSCopyManagedDisplaySpaces poisons SLSNewWindow** — calling it on ANY connection corrupts window creation on ALL connections. Use `CGWindowListCopyWindowInfo` instead.
3939
 
40
-2. **Fresh SLS connection per border** — each overlay needs its own `SLSNewConnection`. Required for reliable rendering.
40
+2. **Use the process main connection** — `SLSMainConnectionID()` for window creation, drawing, ordering, and event registration (current code already does this). Past notes mentioned a "fresh SLSNewConnection per border" requirement; that has not been needed since the current architecture stabilized.
4141
 
4242
 3. **Create windows at final size** — the 1×1-then-reshape pattern breaks on Tahoe. Create at correct position/size immediately.
4343