mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-16 11:06:49 +01:00
Only leave fullscreen mode if we're actually going to minimize
This commit is contained in:
parent
9950271bb6
commit
f1b57f3785
@ -2216,9 +2216,10 @@ SDL_MinimizeWindow(SDL_Window * window)
|
||||
return;
|
||||
}
|
||||
|
||||
SDL_UpdateFullscreenMode(window, SDL_FALSE);
|
||||
|
||||
if (_this->MinimizeWindow) {
|
||||
/* Only leave fullscreen mode if we're actually going to minimize */
|
||||
SDL_UpdateFullscreenMode(window, SDL_FALSE);
|
||||
|
||||
_this->MinimizeWindow(_this, window);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user