Resurrecting this once more, with something to show rather than to ask.
Using
AppleBridge and Claude Code, I've written a fresh implementation of what
@PB170 specified in post #1 — the
show-desktop half only — and put source, build script and a verified build on
GitHub:
https://github.com/LoetLuemmel/Expose
What it does (System 7.6.1, 68020+): F11, Cmd-Option-D or the top-right hot
corner sweeps every window of every application to the screen edges with the
Finder zoom-rect animation (using the 12-step spacing
@PB170 measured in post
#15) and hides them. The same trigger, a click within 5 px of a screen edge, or
switching applications brings them back — the restore rules from post #5.
Under the hood it is a boot INIT that chains the jGNE filter at $29A and walks
the Layer Manager hierarchy the way
@cheesestraws laid out in the WindowList
thread (_OSDispatch selector $4F → PEntry+$70 → root layer → subWindows), acting
only in the front process's context. The concrete offsets came from zydeco's
rootless patch for Basilisk II; the measurements and gotchas are in docs/LOG.md.
Not done yet: the window-overview mode, a cdev for the shortcut/corner, and the
"3 px still visible" edge detail — this version hides windows (Crutch's fast
path) rather than moving them. 68000 machines are out, same as the betas here.
Only tested under Basilisk II so far; reports from real hardware — especially a
PowerBook 170 — would be very welcome.
Longer write-up with screenshots:
https://td5.390er.de/expos/
@Crutch — thanks for the trail you left in this thread; the beta-5
hide-all-at-once observation and the WindowList thread saved me most of the
digging.
For further improvements of Exposé, let me know what you consider and I can give AppleBridge and MPW a try.