From 5b5baf694e56b067ce8620a782d8742be3d3beb5 Mon Sep 17 00:00:00 2001 From: Kevin Lange Date: Sun, 16 Jun 2013 00:26:37 -0700 Subject: [PATCH] Oops, multiple resizes should work now. --- src/video/toaru/SDL_toaruevents.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/video/toaru/SDL_toaruevents.c b/src/video/toaru/SDL_toaruevents.c index 2b6a0a4..0a27cf8 100644 --- a/src/video/toaru/SDL_toaruevents.c +++ b/src/video/toaru/SDL_toaruevents.c @@ -54,6 +54,8 @@ void TOARU_PumpEvents(_THIS) { fprintf(stderr, "--- From a natural resize. Informing SDL.\n"); this->hidden->triggered_resize = 1; SDL_PrivateResize(evt->width - this->hidden->x_w, evt->height - this->hidden->x_h); + } else { + this->hidden->triggered_resize = 0; } break; case WE_FOCUSCHG: