4 ms·
I think you have it backwards with regard to HiDPI. DPI scaling in X is a nightmare. Sway claims to have the best HiDPI support of any desktop environment due t
by pzone 8y ago
I think you have it backwards with regard to HiDPI. DPI scaling in X is a nightmare. Sway claims to have the best HiDPI support of any desktop environment due to modern Wayland support. Getting X applications to scale with Wayland HiDPI will require workarounds because of the lack of DPI support in X.
- ubercow13 8y agoIn what sense does Wayland have better hidpi support than X?
- aeroevan 8y agoMixed DPI works for one. I'm using GNOME on wayland currently but that's really the only thing I've noticed that's better than X.
- badsectoracula 8y ago> lack of DPI support in X Even back in 2002 RandR supported obtaining screen size information in pixels and millimeters which can be used to calculate DPI... or actually, what people really want when mentioning "DPI support", an automatic way to scale the windows. How the window scales is up to the toolkit to implement and is independent of window system and really, even independent of screen size/DPI since some users (e.g. due to sight problems) may want their windows to be scaled even on "low DPI" monitors (the whole DPI thing is just a default setting). The main problem i see with X here isn't some technical inability, but a way for window managers to notify other clients that they should change their scaling (since the window manager is in a better position to know what scaling each window should use - especially when you want different scaling per monitor, which again can be independent of DPI since you may want a large scale for a wall mounted TV even if the DPI would be very low) - essentially something like a new _NET_WM_SCALE window property for EWMH clients and window managers.