mirror of
https://github.com/brl/mutter.git
synced 2025-02-19 14:44:10 +00:00

If no global scaling factor has been set, we currently segfault when called with a %NULL mode parameter, which happens when calculating the scale for the current mode while no modes are available. Adding %NULL checks in the corresponding callers would mean that we'd have to duplicate the global scaling factor handling, so instead consider %NULL mode parameters valid and handle them gracefully. https://gitlab.gnome.org/GNOME/mutter/merge_requests/41
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%