mirror of
https://github.com/brl/mutter.git
synced 2025-06-26 15:07:05 +00:00

The max framerate 1/0 means variable without any particular max, so
don't throttle if that was set.
Not doing this would end up with a floating point exception.
https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1251
(cherry picked from commit 96dd794fd1
)