Mosaic WM's smart resize just got a full rewrite.
Instead of shrinking windows step by step and waiting for Mutter to catch up each time, it now uses get_min_size()/get_max_size() from Mutter 50 to binary search the optimal scale factor upfront (layout simulations fully synchronous).
All polling machinery are gone (-770 lines) _Everything that I pray praise the Lord_ 🎶🎶.
⚠️ Important notice for Mosaic WM testers:
Starting from commit b96f204, #Mutter 50+ is required. The smart resize system was rewritten as mentioned in the toot above.
If you're on an older version, stick to the previous commit. This isn't just a preference, the extension won't work properly without these APIs.