Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged

Conversation

viseztrance
Copy link
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
Member

lijy91 commented Nov 22, 2024

LGTM

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

2 participants