Jasper St. Pierre a3d9946803 shell-global: Only set the scale factor if get_setting succeeded
If gdk_screen_get_setting fails, like if it's running without XSettings,
then the GValue will have a value of 0. A lot of code tries to divide by
the scale factor. This produces NaN, and combined with the fact that NaN
is "leaky", we very quickly end up spinning out of control.
2014-03-13 13:37:29 +01:00
..
2013-09-17 11:54:44 -04:00
2014-02-15 13:17:23 +01:00