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

core: fix reported display resolutions when fractionally scaled #10

Merged
merged 1 commit into from
Oct 17, 2024

Conversation

outfoxxed
Copy link
Member

Fixes incorrect reported display sizes when fractional scaling is enabled.

Yes, enumerating outputs is actually required for this. Qt only exposes logical size, and while QWaylandScreen has a field for this, its private and I would rather us not get hit with ABI breaks.

@outfoxxed outfoxxed force-pushed the fix-resolution-scaling branch from bbbdd0c to 4177fc3 Compare October 17, 2024 09:30
Qt appears to have no way to retrieve the pixel size sent by wayland,
as it overrides it with the logical size and will not return the
physical one.
@outfoxxed outfoxxed force-pushed the fix-resolution-scaling branch 2 times, most recently from 6807477 to 6b06084 Compare October 17, 2024 10:34
@vaxerski vaxerski merged commit 0fa58f1 into hyprwm:main Oct 17, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants