GNOME Bugzilla – Bug 761474
x11: Scaling factor is applied twice on screen work area
Last modified: 2016-02-24 17:51:06 UTC
In the fallback case when get_work_area () terminates early, it scales the screen width and height down by the window scaling factor, but those values are already scaled down in gdk_x11_screen_get_width () and gdk_x11_screen_get_height (). It's causing this bug: https://bugs.launchpad.net/ubuntu/+source/unity-greeter/+bug/1434094.
Created attachment 320294 [details] [review] x11: don't apply scaling factor twice
Review of attachment 320294 [details] [review]: Looks good to me
ok to cherry-pick this to 3.18?
yes, please. Too bad I missed it for the 3.18 release I just did
done. I noticed because we have this in Ubuntu and I was packaging the new release up. Oh well :)