Skip to content

window: preserve fractional drawable bounds during layout - #162

Merged
vaxerski merged 1 commit into
mainfrom
fix-fract
Nov 16, 2026
Merged

vaxerski merged 1 commit into
mainfrom
fix-fract

Conversation

@vaxerski

Copy link
Copy Markdown
Member

Size Wayland roots from the allocated pixel extent without rounding back to whole logical coordinates. Record configured root bounds through the positioner and reuse them during reflow, preserving explicit embedded surface bounds as well.

Add layout and framebuffer regressions covering fractional scales, resize, repeated reflow, and partial edge damage. Verified all 98 tests and hyprlauncher borders at 2880x1920 with 4/3 scaling.

Codex wrote this, I read it. Fixes fract scaling edges

Size Wayland roots from the allocated pixel extent without rounding back to whole logical coordinates. Record configured root bounds through the positioner and reuse them during reflow, preserving explicit embedded surface bounds as well.

Add layout and framebuffer regressions covering fractional scales, resize, repeated reflow, and partial edge damage. Verified all 98 tests and hyprlauncher borders at 2880x1920 with 4/3 scaling.
@vaxerski
vaxerski merged commit d1cc846 into main Nov 16, 2026
4 checks 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.

1 participant