mirror of
https://github.com/love2d/love.git
synced 2026-08-16 00:02:12 +02:00
sync window state in love.window.minimize
This commit is contained in:
@@ -1443,7 +1443,10 @@ bool Window::isDisplaySleepEnabled() const
|
||||
void Window::minimize()
|
||||
{
|
||||
if (window != nullptr)
|
||||
{
|
||||
SDL_MinimizeWindow(window);
|
||||
updateSettings(settings, true);
|
||||
}
|
||||
}
|
||||
|
||||
void Window::maximize()
|
||||
|
||||
Reference in New Issue
Block a user