-
Notifications
You must be signed in to change notification settings - Fork 230
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
WaylandBackend: Fix scale equation and unscale libdecor frame commit #1630
WaylandBackend: Fix scale equation and unscale libdecor frame commit #1630
Conversation
Doesn't seem to fix #1536 for me on Plasma 6.2.3 Wayland. Still a sliver at the very bottom and to the right side at 175% that isn't present at 150% 175% 150% edit:
|
Ah, I didn't read the issue properly sorry. |
This fixes the issue where in a scaled wayland sessions the window buffer is the correct size with window decorations that are too large. It also fixes gamescope being having a couple of pixels smaller when fullscreen.
2f28661
to
6503630
Compare
@matte-schwartz I replicated this today with 105% scaling which was causing the surface to be 1 pixel too small and 1 pixel offset. |
@ColinKinloch that does indeed solve #1536 on my end, nice work! |
this PR also seems to fix #1620 |
Thanks! |
This fixes the issue where in a scaled wayland sessions the window buffer is the correct size with window decorations that are too large.
The frame issue effects compositors that don't support server side decoration.
It also fixes gamescope being having a couple of pixels smaller when fullscreen with 105% scaling.
fixes #1536, fixes #1620