Jasper St. Pierre 29addc499c 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-02-23 10:54:32 -05:00
..
2013-09-17 11:54:44 -04:00
2014-01-08 04:35:14 +07:00
2014-01-09 14:59:31 -05:00
2014-01-09 14:59:31 -05:00
2014-01-09 14:59:31 -05:00
2014-01-09 14:59:31 -05:00
2014-02-11 18:04:44 -05:00
2014-02-17 20:44:58 +01:00
2012-09-10 21:23:25 +02:00