From 1375d3b1d904ad48d18218031e8069ba91776502 Mon Sep 17 00:00:00 2001 From: Dimitris Panokostas Date: Thu, 9 Nov 2023 10:55:30 +0100 Subject: [PATCH] bugfix: actually fix #1148 The previous commit fixed it for ShowMessage, but not for ShowHelp --- src/osdep/gui/ShowHelp.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/osdep/gui/ShowHelp.cpp b/src/osdep/gui/ShowHelp.cpp index e3e510a33..4b6a05667 100644 --- a/src/osdep/gui/ShowHelp.cpp +++ b/src/osdep/gui/ShowHelp.cpp @@ -261,6 +261,11 @@ static void ShowHelpLoop(void) case SDL_MOUSEBUTTONDOWN: case SDL_MOUSEBUTTONUP: case SDL_MOUSEMOTION: + case SDL_RENDER_TARGETS_RESET: + case SDL_RENDER_DEVICE_RESET: + case SDL_WINDOWEVENT: + case SDL_DISPLAYEVENT: + case SDL_SYSWMEVENT: got_event = 1; break;