GNOME Bugzilla – Bug 721615
xsettings: Scale windows based on primary monitor
Last modified: 2014-01-06 14:13:16 UTC
Currently windows are scaled based on the first monitor in the screen. However, if (first monitor is high DPI) XOR (primary monitor is high DPI) is true, then the primary monitor gets scaled incorrectly. I propose that we scale windows based on the primary monitor, since the user explicitly set a monitor as primary, then presumably he or she wants it scaled properly. In an ideal world, we'd also be able to scale windows in each monitor differently, but I'm under the impression that this is not possible right now.
Created attachment 265420 [details] [review] xsettings: Scale windows based on primary monitor Currently windows are scaled based on the first monitor in the screen. However, if (first monitor is high DPI) XOR (primary monitor is high DPI) is true, then the primary monitor gets scaled incorrectly. I propose that we scale windows based on the primary monitor, since the user explicitly set a monitor as primary, then presumably he or she wants it scaled properly. In an ideal world, we'd also be able to scale windows in each monitor differently, but I'm under the impression that this is not possible right now.
This is still missing actually monitoring the screens for changes. Eg. when the primary monitor changes (if it was on an external screen that got disconnected) you need to recompute this. There are more patches in bug 709859, so marking it as a duplicate. *** This bug has been marked as a duplicate of bug 709859 ***
Got it, thanks.