On window minimize Screen.resize(0,0) called on Windows but not on Linux
#7.072 geöffnet am 23.01.2023
Repository-Metriken
- Stars
- (25.087 Sterne)
- PR-Merge-Metriken
- (Durchschn. Merge 61T 22h) (3 gemergte PRs in 30 T)
Beschreibung
When user minimizes the game window, or alt-tabs out of a fullscreen mode, Screen.resize(0,0) gets called when running on Windows. But running on Linux (Debian MATE, if that matters) Screen.resize(0,0) is not called. I don't know if this is a bug, it just caused me some confusion.
Which is the intended behavior, calling resize(0,0) or not calling? On Linux it anyway correctly calls pause() and resume() which are handy for handling relevant logic when exiting / resuming the game window, so resize(0,0) seems redundant to me.
Using libGDX verion 1.11.0
Could not test on macOS for I don't have one
Please select the affected platforms
- Android
- iOS
- HTML/GWT
- Windows
- Linux
- macOS