<div dir="ltr">Hi<br><div class="gmail_extra"><br><div class="gmail_quote">On 10 September 2017 at 22:25, Joseph Burt <span dir="ltr"><<a href="mailto:caseorum@gmail.com" target="_blank">caseorum@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail-"><br>
</span>I'm now up to date on the relevant bug reports. Sorry for the spam.<br>
<br>
What about always running the X server at hardware resolution,<br>
limiting the size of lodpi clients on the XWM side, and letting the<br>
compositor scale them?<br></blockquote><div><br></div><div>That's pretty much what we do already in mutter 3.26 with 'frame-monitor-framebuffer' enabled (and weston and kwin already do this as well -or so I heard-), but the problem is the X11 clients that can take advantage of hiDPI, you don't want to scale them...</div><div><br></div><div>When scaling up the LoDPI X11 clients, you need to adjust the advertised screen size accordingly, because a LoDPI client configuring its X11 window to be, say 300x200 will end up with a surface of size 600x400 once scaled by 2 by the compositor when mapped on screen, so in that case the X server needs to adjust, i.e. downscale, the screen size advertised to the LoDPI clients by the same factor so that a client basing its window size/location on the screen size ends up with the expected size/location when mapped on the output, that's <a href="https://patchwork.freedesktop.org/patch/175578/">https://patchwork.freedesktop.org/patch/175578/</a></div><div><br></div><div>But when dealing with HiDPI aware X11 clients, you don't want to scale those because they already know better how to render their contents without additional scaling, so eventually, these clients need to have access to the actual un-scaled screen size, meaning that the screen size as advertised to X11 clients actually depends on the client being capable of taking advantage of HiDPI...</div><div><br></div><div>Cheers,</div><div>Olivier</div><div><br></div></div></div></div>