Skip to content

Initialize window_hints to fix minimum size setting in release mode#510

Merged
lijy91 merged 1 commit intoleanflutter:mainfrom
viseztrance:fix/gtk-window-hints-initialization
Nov 22, 2024
Merged

Initialize window_hints to fix minimum size setting in release mode#510
lijy91 merged 1 commit intoleanflutter:mainfrom
viseztrance:fix/gtk-window-hints-initialization

Conversation

@viseztrance
Copy link
Copy Markdown
Contributor

When compiling in release mode for linux, the window size constraints (ie. setMinimumSize) weren't being enforced.

This happened because the window_hints variable was not initialized and contained garbage data (while it was zero in debug mode).

When compiling in release mode for linux, the window size
constraints (ie. `setMinimumSize`) weren't being enforced.

This happened because the `window_hints` variable was not initialized
and contained garbage data (while it was zero in debug mode).
@lijy91
Copy link
Copy Markdown
Member

lijy91 commented Nov 22, 2024

LGTM

@lijy91 lijy91 merged commit 3678a0a into leanflutter:main Nov 22, 2024
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.

2 participants