From 1c155f710fa80f2d914f3d6973083600dec96743 Mon Sep 17 00:00:00 2001 From: Pieter Hulshoff Date: Wed, 21 Jun 2017 21:20:35 +0200 Subject: [PATCH] Fixed SDL grabwindow bug when unloadSDL = false. --- RetroFE/Source/RetroFE.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/RetroFE/Source/RetroFE.cpp b/RetroFE/Source/RetroFE.cpp index cecdbe7..c1cf7b2 100644 --- a/RetroFE/Source/RetroFE.cpp +++ b/RetroFE/Source/RetroFE.cpp @@ -139,6 +139,8 @@ void RetroFE::launchEnter( ) // Play launch sound currentPage_->launchEnter( ); + SDL_SetWindowGrab(SDL::getWindow(), SDL_FALSE); + // Free the textures, and optionally take down SDL freeGraphicsMemory( );