From 99315ee76118d52b377c280b892f12bafe642e7e Mon Sep 17 00:00:00 2001 From: Alexander Batalov Date: Mon, 4 Mar 2024 21:37:09 +0300 Subject: [PATCH] Fix screen not being refreshed when app transitions from background Affects some modal windows like dialog, pipboy, etc. on iOS (and likely Android). --- src/plib/gnw/input.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plib/gnw/input.cc b/src/plib/gnw/input.cc index e4c243d..5ad4d95 100644 --- a/src/plib/gnw/input.cc +++ b/src/plib/gnw/input.cc @@ -1119,6 +1119,7 @@ void GNW95_process_message() break; case SDL_WINDOWEVENT_SIZE_CHANGED: handleWindowSizeChanged(); + win_refresh_all(&scr_size); break; case SDL_WINDOWEVENT_FOCUS_GAINED: GNW95_isActive = true;