-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
xwayland: support HiDPI scale #6446
base: main
Are you sure you want to change the base?
Conversation
what advantages does this have over force_zero_scaling? |
Quoting from my description in #6281:
|
1184395
to
b16fb97
Compare
713df39
to
5f12989
Compare
5f12989
to
4d9c041
Compare
What is required to get this into a state where it can be merged? I would love to see this feature merged into Hyprland. |
It's broken on latest Hyprland. XWayland appliacations squeezed to left top cornor of their window frame. |
I'm on vacation and don't have a hyprland device on hand to investigate the fix. |
c900f77
to
ab33ff9
Compare
fixed |
Thank you for your work. I noticed that this PR has caused issue #5561 to reappear. Would you mind also taking a look at this issue? |
It works! Thank you! |
This supports the xorg-xwayland patch at https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/733 Ported from https://gitlab.freedesktop.org/lilydjwg/wlroots/-/commit/5a7c65cab11c9f3c3dc79f9c4cfb8a6acf6cbaae
ab33ff9
to
e10a502
Compare
Describe your PR, what does it fix/add?
This supports the xorg-xwayland patch at https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/733
Ported from https://gitlab.freedesktop.org/lilydjwg/wlroots/-/commit/5a7c65cab11c9f3c3dc79f9c4cfb8a6acf6cbaae
See #6281 for motivation.
AUR package
hyprland-hidpi-xprop-git
applies this patch on top of hyprland mainline. After installing, do the following to enable (scaling factor 2 in this example):exec-once = systemctl --user start xsettingsd.service && echo "Xft.dpi: 192" | xrdb -merge && xprop -root -format _XWAYLAND_GLOBAL_OUTPUT_SCALE 32c -set _XWAYLAND_GLOBAL_OUTPUT_SCALE 2
to hyprland configuration.~/.config/xsettingsd/xsettingsd.conf
GDK_SCALE
,QT_SCALE_FACTOR
, and other per-application scaling options.Is there anything you want to mention? (unchecked code, possible bugs, found problems, breaking compatibility, etc.)
N/A
Is it ready for merging, or does it need work?
No, for cherry-pick only