mirror of https://github.com/buggins/dlangui.git
Merge pull request #360 from and3md/lxde_fix
Unnecessary restore modal childs after window exposed event - fixes #355
This commit is contained in:
commit
4819442938
|
@ -1258,8 +1258,6 @@ class SDLPlatform : Platform {
|
||||||
break;
|
break;
|
||||||
case SDL_WINDOWEVENT_EXPOSED:
|
case SDL_WINDOWEVENT_EXPOSED:
|
||||||
debug(DebugSDL) Log.d("SDL_WINDOWEVENT_EXPOSED - ", w.windowCaption);
|
debug(DebugSDL) Log.d("SDL_WINDOWEVENT_EXPOSED - ", w.windowCaption);
|
||||||
if (!_windowsMinimized && w.hasVisibleModalChild())
|
|
||||||
w.restoreModalChilds();
|
|
||||||
w.invalidate();
|
w.invalidate();
|
||||||
break;
|
break;
|
||||||
case SDL_WINDOWEVENT_MOVED:
|
case SDL_WINDOWEVENT_MOVED:
|
||||||
|
|
Loading…
Reference in New Issue