Reduce lock usage during window events

This commit is contained in:
2025-04-19 21:12:38 +03:00
parent 3b8c7f0d8d
commit 43968c1a5e
4 changed files with 5 additions and 25 deletions

View File

@@ -589,7 +589,7 @@ void SDLWindow::Restore()
bool SDLWindow::IsClosed() const
{
return _handle == nullptr;
return WindowBase::IsClosed() || _handle == nullptr;
}
bool SDLWindow::IsForegroundWindow() const