mirror of https://github.com/buggins/dlangui.git
Fix window redrawing (#197)
This commit is contained in:
parent
d8f10f01bf
commit
dd0df51ba3
|
|
@ -1068,6 +1068,9 @@ class SDLPlatform : Platform {
|
||||||
break;
|
break;
|
||||||
case SDL_WINDOWEVENT_RESTORED:
|
case SDL_WINDOWEVENT_RESTORED:
|
||||||
debug(DebugSDL) Log.d("SDL_WINDOWEVENT_RESTORED");
|
debug(DebugSDL) Log.d("SDL_WINDOWEVENT_RESTORED");
|
||||||
|
version(linux) { //not sure if needed on Windows or OSX. Also need to check on FreeBSD
|
||||||
|
w.redraw();
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case SDL_WINDOWEVENT_ENTER:
|
case SDL_WINDOWEVENT_ENTER:
|
||||||
debug(DebugSDL) Log.d("SDL_WINDOWEVENT_ENTER");
|
debug(DebugSDL) Log.d("SDL_WINDOWEVENT_ENTER");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue