Skip to content

Commit

Permalink
impr: Make window update correctly after moving it around
Browse files Browse the repository at this point in the history
  • Loading branch information
WerWolv committed Sep 14, 2024
1 parent 5c10dc3 commit 5711bb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gui/source/window/window.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ namespace fene {
shouldLongSleep = false;

const auto windowFlags = SDL_GetWindowFlags(m_window);
if (windowFlags & SDL_WINDOW_MINIMIZED || !(windowFlags & SDL_WINDOW_INPUT_FOCUS))
if (windowFlags & SDL_WINDOW_MINIMIZED)
shouldLongSleep = true;

m_unlockFrameRate = false;
Expand Down

0 comments on commit 5711bb5

Please sign in to comment.