Bithack / principia

Open source physics-based sandbox game.
https://principia-web.se
Other
260 stars 25 forks source link

Do not set window size on resize #140

Closed griffi-gh closed 8 months ago

griffi-gh commented 9 months ago

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 commented 8 months ago

fixed by 273fc471fbf3d0735e0ad438f708eab585cc111f