Open zetaPRIME opened 2 months ago
Here are a couple old PRs that add an option to disable XWayland scaling:
https://github.com/swaywm/sway/pull/5090/files
https://github.com/swaywm/wlroots/pull/2064/files
It could probably be achieved without the wlroots changes though as Hyprland supported this before forking wlroots. I looked at the code and wasn't familiar enough to figure out how to port it to the latest version of Sway.
- Description: Posting this here as core Sway has closed every issue (and PR) addressing this; currently (to my knowledge) there's no way to disable the force-scaling on Xwayland windows, but ideally I'd like to have the raw scaling at 1.0 for those and have the toolkit handle dpi scaling.
context: I'm on a Framework 16 (so 1x display scale is too small to read comfortably) but I heavily use multiple applications that don't support Wayland (Renoise, Pulsar, gestures in the vague direction of games in general), and this is honestly the one factor keeping me on x11 right now.
if you are on arch,you could try these two aur packages. https://aur.archlinux.org/packages/wlroots-hidpi-xprop and https://aur.archlinux.org/packages/xorg-xwayland-hidpi-xprop .also add config options from https://aur.archlinux.org/packages/hyprland-hidpi-xprop-git . although cursor on xwayland apps won't scale at all.
context: I'm on a Framework 16 (so 1x display scale is too small to read comfortably) but I heavily use multiple applications that don't support Wayland (Renoise, Pulsar, gestures in the vague direction of games in general), and this is honestly the one factor keeping me on x11 right now.