Skip to content

Commit

Permalink
sync window state in love.window.minimize
Browse files Browse the repository at this point in the history
  • Loading branch information
slime73 committed Oct 14, 2024
1 parent 56c7517 commit b69a22d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/modules/window/sdl/Window.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1443,7 +1443,10 @@ bool Window::isDisplaySleepEnabled() const
void Window::minimize()
{
if (window != nullptr)
{
SDL_MinimizeWindow(window);
updateSettings(settings, true);
}
}

void Window::maximize()
Expand Down

0 comments on commit b69a22d

Please sign in to comment.