[jadahl] Rework hotspot calculations Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3859>