Skip to content

fix: win.center() sets the correct size and position on frameless windows#51921

Merged
jkleinsc merged 1 commit into
42-x-yfrom
trop/42-x-y-bp-fix-win-center-sets-the-correct-size-and-position-on-frameless-windows-1780940347690
Jun 8, 2026
Merged

fix: win.center() sets the correct size and position on frameless windows#51921
jkleinsc merged 1 commit into
42-x-yfrom
trop/42-x-y-bp-fix-win-center-sets-the-correct-size-and-position-on-frameless-windows-1780940347690

Conversation

@trop

@trop trop Bot commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

Backport of #51732

See that PR for details.

Notes: Fixed an issue on Linux and Windows where frameless windows would shrink when calling win.center(). Additionally, fixed an issue where frameless windows would appear slightly off-center on Windows.

…dows on Linux and Windows

Co-authored-by: Mitchell Cohen <mitch.cohen@me.com>
@trop trop Bot added 42-x-y backport This is a backport PR semver/patch backwards-compatible bug fixes labels Jun 8, 2026
@jkleinsc jkleinsc merged commit d347b94 into 42-x-y Jun 8, 2026
127 of 129 checks passed
@jkleinsc jkleinsc deleted the trop/42-x-y-bp-fix-win-center-sets-the-correct-size-and-position-on-frameless-windows-1780940347690 branch June 8, 2026 20:03
@release-clerk

release-clerk Bot commented Jun 8, 2026

Copy link
Copy Markdown

Release Notes Persisted

Fixed an issue on Linux and Windows where frameless windows would shrink when calling win.center(). Additionally, fixed an issue where frameless windows would appear slightly off-center on Windows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

42-x-y backport This is a backport PR semver/patch backwards-compatible bug fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant