Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> As far as I know Qt was the only toolkit to actually do this automatically, but that's not X11's fault.

Well if three independent programs have to coordinate to make it work, then I would state that it do not support it at all.





It's the same on Wayland. The client (usually part of a toolkit like Gtk/Qt) needs to subscribe to notifications [0] from the server so it can decide the raster size of the surface it wants to draw to. Qt does this on X11 by detecting when your window moves to a screen with another DPI and resizing/rescaling.

I guess the "third" program would be something like xrandr, so the Wayland analogue to that would be wlr-randr (for wlroots compositors), or some other DE-specific tool for configuring screen sizes. Again there's no fundamental difference here.

[0] https://wayland.app/protocols/fractional-scale-v1#wp_fractio...


Is that any different from Wayland? I'm not opposed to declaring that Wayland doesn't support mixed DPI, but it is a funny conclusion



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: