-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Description
In short, please make it possible to disable scaling of xwayland applications.
When "scale 2" is set for an output, my understanding is that all wayland native applications are scaled to 2x the "normal" size, and all xwayland applications are "stretched out" to match the scale of the native applications. This is great if you need to use displays with different scaling and you only use a few X applications.
However, it's absolutely horrible if you only use one display and the majority of your applications run through xwayland. Now a select few of my applications (specifically my top bar, notifications and my terminal emulator) are sharp and pretty much all my other applications are blurry, including my browser, chat applications and code editor.
For cases like mine wouldn't it make sense to completely disable the upscaling of xwayland applications? That way we can set Xft.dpi in .Xresources to the appropriate value and all our applications can be nice and sharp. From my ~2 hours of Googling this is not currently possible, and I haven't even been able to determine who is responsible for the xwayland scaling. Is it Sway or xwayland itself?
The only hacky workaround to my problem I've been able to find is to completely disable scaling in Sway (scale 1), then set Xft.dpi to a sane value and somehow manually force scaling for all native wayland applications. As I have no idea how to do that last part, I'm not a fan of this solution.
Would it be a large task to allow us to disable xwayland scaling?
Is there an alternative solution to this issue that I have missed?