On Mon Mar 31 18:57:34 2025 +0000, Jacek Caban wrote:
Instead of special-casing detached windows, I think it would be cleaner to have a list of all inner windows (including the one that's currently active). To check if a window is detached, you may simply compare the current active window pointer to the one you're testing.
I also had to add check for `pending_window` but other than that it's fine.