backport: Track all windows
This is !2029 (merged), except for the last commit that uses the original patch that doesn't require new mutter API.
This is !2029 (merged), except for the last commit that uses the original patch that doesn't require new mutter API.