summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2020-10-25 17:56:17 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2020-10-25 17:56:52 +0200
commit960eb0e87bd6b763438c90f752be47a5af009f17 (patch)
tree55d6666e4ce86205cbc08bedd9b540a5b52a691c /src
parent0057c015316e4adf79ae6864fb0db0c335372a61 (diff)
Window: Ensure window is redrawn after expose event
Diffstat (limited to 'src')
-rw-r--r--src/ui/window.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui/window.c b/src/ui/window.c
index c5194ea0..53a01d71 100644
--- a/src/ui/window.c
+++ b/src/ui/window.c
@@ -634,6 +634,7 @@ static iBool handleWindowEvent_Window_(iWindow *d, const SDL_WindowEvent *ev) {
634 SDL_SetWindowPosition(d->win, d->initialPos.x + bx, d->initialPos.y + by); 634 SDL_SetWindowPosition(d->win, d->initialPos.x + bx, d->initialPos.y + by);
635 d->initialPos = init1_I2(-1); 635 d->initialPos = init1_I2(-1);
636 } 636 }
637 postRefresh_App();
637 return iFalse; 638 return iFalse;
638#endif 639#endif
639 case SDL_WINDOWEVENT_MOVED: { 640 case SDL_WINDOWEVENT_MOVED: {