From 960eb0e87bd6b763438c90f752be47a5af009f17 Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Sun, 25 Oct 2020 17:56:17 +0200 Subject: Window: Ensure window is redrawn after expose event --- src/ui/window.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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) { SDL_SetWindowPosition(d->win, d->initialPos.x + bx, d->initialPos.y + by); d->initialPos = init1_I2(-1); } + postRefresh_App(); return iFalse; #endif case SDL_WINDOWEVENT_MOVED: { -- cgit v1.2.3