ValveSoftware / gamescope

SteamOS session compositing window manager
Other
3.17k stars 213 forks source link

WaylandBackend: Unscale for libdecor frame commit #1630

Open ColinKinloch opened 6 days ago

ColinKinloch commented 6 days ago

This fixes the issue where in a scaled wayland sessions the window buffer is the correct size with window decorations that are too large.

This only effects compositors that don't support server side decoration.

before after
Screenshot From 2024-11-15 22-41-16 Screenshot From 2024-11-15 22-41-46
matte-schwartz commented 6 days ago

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%

image

150%

image

edit:

gamescope -f -- vkcube with my monitor set to 7680x2160p@240hz, Scaling 175% is my setup for reference

ColinKinloch commented 6 days ago

Ah, I didn't read the issue properly sorry.