Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support disabling Xwayland hardscaling #346

Open
zetaPRIME opened this issue Aug 17, 2024 · 2 comments
Open

Support disabling Xwayland hardscaling #346

zetaPRIME opened this issue Aug 17, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@zetaPRIME
Copy link

  • 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.

@zetaPRIME zetaPRIME added the enhancement New feature or request label Aug 17, 2024
@erahhal
Copy link

erahhal commented Aug 27, 2024

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.

@Nojike
Copy link

Nojike commented Sep 7, 2024

  • 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants