SDL: unnecessary restore modal childs after SDL_WINDOWEVENT_EXPOSED fixes #355

This commit is contained in:
and3md 2017-06-01 20:01:59 +02:00
parent c1a990c0e2
commit 6d16875de9
1 changed files with 0 additions and 2 deletions

2
src/dlangui/platforms/sdl/sdlapp.d Executable file → Normal file
View File

@ -1258,8 +1258,6 @@ class SDLPlatform : Platform {
break;
case SDL_WINDOWEVENT_EXPOSED:
debug(DebugSDL) Log.d("SDL_WINDOWEVENT_EXPOSED - ", w.windowCaption);
if (!_windowsMinimized && w.hasVisibleModalChild())
w.restoreModalChilds();
w.invalidate();
break;
case SDL_WINDOWEVENT_MOVED: