Skip to content

fix: use inner_size on Windows to prevent window growing on each restart#690

Merged
abose merged 1 commit intomainfrom
st
Mar 4, 2026
Merged

fix: use inner_size on Windows to prevent window growing on each restart#690
abose merged 1 commit intomainfrom
st

Conversation

@abose
Copy link
Member

@abose abose commented Mar 4, 2026

On Windows, set_size() sets the client area but outer_size() includes decorations, causing the window to grow by the decoration size on each save/restore cycle. Use inner_size() on Windows for consistent round-trip.

On Windows, set_size() sets the client area but outer_size() includes
decorations, causing the window to grow by the decoration size on each
save/restore cycle. Use inner_size() on Windows for consistent round-trip.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@sonarqubecloud
Copy link

sonarqubecloud bot commented Mar 4, 2026

@abose abose merged commit 61693b3 into main Mar 4, 2026
4 of 6 checks passed
@abose abose deleted the st branch March 4, 2026 11:09
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