Skip to content

fix: accurate window sizing and support for content sizing on Linux/Wayland with CSD - #49835

Merged
jkleinsc merged 1 commit into
41-x-yfrom
trop/41-x-y-bp-fix-accurate-window-sizing-and-support-for-content-sizing-on-linux-wayland-with-csd-1771359840725
Feb 18, 2026
Merged

jkleinsc merged 1 commit into
41-x-yfrom
trop/41-x-y-bp-fix-accurate-window-sizing-and-support-for-content-sizing-on-linux-wayland-with-csd-1771359840725

Conversation

@trop

@trop trop Bot commented Feb 17, 2026

Copy link
Copy Markdown
Contributor

Backport of #49209

See that PR for details.

Notes: Fixed several issues with consistent window sizing and resizing on Linux when CSD is in use (e.g. on GNOME/Wayland) and added support for creating content-sized windows.

…ayland with CSD (#49209)

* fix window sizing and content sizing on Linux when CSD is in use

* fixed size constraints

* simplify min/max size calculation

* use base window size for min/max

* moved windows min/max size overrides

* remove unnecessary checks for client frame

* cleanup

Co-authored-by: Mitchell Cohen <[email protected]>
@trop
trop Bot requested a review from a team February 17, 2026 20:24
@trop trop Bot added 41-x-y backport This is a backport PR semver/patch backwards-compatible bug fixes labels Feb 17, 2026
@jkleinsc
jkleinsc merged commit 667d9eb into 41-x-y Feb 18, 2026
112 of 113 checks passed
@jkleinsc
jkleinsc deleted the trop/41-x-y-bp-fix-accurate-window-sizing-and-support-for-content-sizing-on-linux-wayland-with-csd-1771359840725 branch February 18, 2026 21:22
@release-clerk

release-clerk Bot commented Feb 18, 2026

Copy link
Copy Markdown

Release Notes Persisted

Fixed several issues with consistent window sizing and resizing on Linux when CSD is in use (e.g. on GNOME/Wayland) and added support for creating content-sized windows.

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

Labels

41-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.

2 participants