Florian Müllner e977d65244 monitor: Allow %NULL mode in calculate_mode_scale()
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
2018-03-09 16:20:58 +01:00
2015-07-06 00:52:18 -07:00
2018-03-07 22:37:47 +01:00
2014-03-18 20:37:35 -04:00
2017-05-11 13:45:44 +02:00
2018-03-05 20:01:34 +01:00
2016-04-27 20:37:47 +02:00
2014-07-31 17:50:28 +02:00
2018-03-05 20:01:34 +01:00
Description
91 MiB
Languages
C 98.9%
Meson 0.7%
Python 0.3%