diff --git a/src/osdep/gui/CreateFilesysHardfile.cpp b/src/osdep/gui/CreateFilesysHardfile.cpp index 03ccb654a..4cb6f88b6 100644 --- a/src/osdep/gui/CreateFilesysHardfile.cpp +++ b/src/osdep/gui/CreateFilesysHardfile.cpp @@ -449,6 +449,11 @@ static void CreateFilesysHardfileLoop() 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; diff --git a/src/osdep/gui/EditFilesysHardDrive.cpp b/src/osdep/gui/EditFilesysHardDrive.cpp index b91320be7..67516fbd4 100644 --- a/src/osdep/gui/EditFilesysHardDrive.cpp +++ b/src/osdep/gui/EditFilesysHardDrive.cpp @@ -376,6 +376,11 @@ static void EditFilesysHardDriveLoop() 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; diff --git a/src/osdep/gui/EditFilesysHardfile.cpp b/src/osdep/gui/EditFilesysHardfile.cpp index 1b9e56f13..7c8526d81 100644 --- a/src/osdep/gui/EditFilesysHardfile.cpp +++ b/src/osdep/gui/EditFilesysHardfile.cpp @@ -833,6 +833,11 @@ static void EditFilesysHardfileLoop() 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; diff --git a/src/osdep/gui/EditFilesysVirtual.cpp b/src/osdep/gui/EditFilesysVirtual.cpp index 2d12d0524..f3dcb2a0c 100644 --- a/src/osdep/gui/EditFilesysVirtual.cpp +++ b/src/osdep/gui/EditFilesysVirtual.cpp @@ -471,6 +471,11 @@ static void EditFilesysVirtualLoop() 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; diff --git a/src/osdep/gui/SelectFile.cpp b/src/osdep/gui/SelectFile.cpp index 4db560770..c7dbe87a2 100644 --- a/src/osdep/gui/SelectFile.cpp +++ b/src/osdep/gui/SelectFile.cpp @@ -572,6 +572,11 @@ static void SelectFileLoop() 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; diff --git a/src/osdep/gui/SelectFolder.cpp b/src/osdep/gui/SelectFolder.cpp index d69854cf3..c750be800 100644 --- a/src/osdep/gui/SelectFolder.cpp +++ b/src/osdep/gui/SelectFolder.cpp @@ -484,6 +484,11 @@ static void SelectFolderLoop() 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; diff --git a/src/osdep/gui/ShowDiskInfo.cpp b/src/osdep/gui/ShowDiskInfo.cpp index 4a0295234..e0f0f83e0 100644 --- a/src/osdep/gui/ShowDiskInfo.cpp +++ b/src/osdep/gui/ShowDiskInfo.cpp @@ -241,6 +241,11 @@ static void ShowDiskInfoLoop() case SDL_MOUSEBUTTONUP: case SDL_MOUSEMOTION: case SDL_MOUSEWHEEL: + case SDL_RENDER_TARGETS_RESET: + case SDL_RENDER_DEVICE_RESET: + case SDL_WINDOWEVENT: + case SDL_DISPLAYEVENT: + case SDL_SYSWMEVENT: got_event = 1; break;