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

Do not set window size on resize #140

Closed
griffi-gh opened this issue Sep 17, 2023 · 1 comment
Closed

Do not set window size on resize #140

griffi-gh opened this issue Sep 17, 2023 · 1 comment
Labels

Comments

@griffi-gh
Copy link
Contributor

Currently, the game calls SDL_SetWindowSize every time the window is resized, in an attempt to limit the minimum window size.
On some desktop environments this makes the window impossible to resize (or on gnome, makes it explode in size).
SDL_SetWindowMinimumSize should be used during the initialization instead.

@griffi-gh griffi-gh added the Bug label Sep 17, 2023
@griffi-gh
Copy link
Contributor Author

fixed by 273fc47

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant