ba1490ec9c
Instead of recalculating it every time we need it. The performance gain is not important; this is more because it will be needed in multiple functions soon. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1826>