- revert add_fresh/discover/list layer filters back to layer != 0
(opening to 0-25 caused ers to border its own stale overlays)
- keep get_front_window layer filter open for focus detection on
floating windows at non-zero levels
- use self.main_cid instead of overlay.cid for SLSGetWindowBounds
in redraw() and reposition() to fix cross-process bounds queries
layer != 0 filter was skipping floating windows set to level 8 by
tarmac. now accepts layers 0-25 (normal through modal panel),
skipping only negative layers and system UI. fixes:
- focus detection finds floating windows as front window
- add_fresh includes floating windows for border creation
- list_windows shows floating windows in --list output
replace SLSManagedDisplayGetCurrentSpace-based focus detection with
CGWindowListCopyWindowInfo front-to-back ordering. SLS display/space
queries poison SLSNewWindow globally even on fresh connections.
also use main_cid for overlay creation — fresh connections produce
invisible windows on Tahoe.