GNOME Bugzilla – Bug 710503
layout: Scale monitor geometry by scale factor
Last modified: 2014-04-01 22:07:11 UTC
We should respect CLUTTER_SCALE when set (see patch).
Created attachment 257699 [details] [review] layout: Scale monitor geometry by scale factor In order to properly render for hidpi screens (when CLUTTER_SCALE is set), we need to scale the monitor's geometry by that value instead of using pixels directly.
OK seems like we need more then that. Mutter uses "real" pixels for window placement so windows end up placed off screen.
Review of attachment 257699 [details] [review]: Same for maximize so it makes more sense to move that code into mutter.
Of course, CLUTTER_SCALE isn't going to be the canonical way to get the clutter scale factor going forwad, too. It's going to read the XSetting.
(In reply to comment #4) > Of course, CLUTTER_SCALE isn't going to be the canonical way to get the clutter > scale factor going forwad, too. It's going to read the XSetting. Yeah this was just the easiest way to test it / play with it (without modifying clutter).
Hmm this is kind of messy if you have two monitors and one of them is hidpi ... we'd want to scale on the high dpi one but not on the "normal" one .. does gtk handle this? If yes how?
Review of attachment 257699 [details] [review]: This can't work ... need to be solved differently.
(In reply to comment #6) > Hmm this is kind of messy if you have two monitors and one of them is hidpi ... > we'd want to scale on the high dpi one but not on the "normal" one .. does gtk > handle this? No.
This is no longer needed now with the other hidpi fixes.