From 39e6d4a8915a4d8709cdd358cb0cf1c1e36df4c0 Mon Sep 17 00:00:00 2001 From: Frank Praznik Date: Fri, 17 Feb 2023 09:24:07 -0500 Subject: [PATCH] Set the window width and height when moving --- src/video/SDL_video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video/SDL_video.c b/src/video/SDL_video.c index 4998a397fd..82ce86dbb6 100644 --- a/src/video/SDL_video.c +++ b/src/video/SDL_video.c @@ -2196,7 +2196,7 @@ int SDL_SetWindowPosition(SDL_Window *window, int x, int y) window->x = bounds.x; window->y = bounds.y; window->w = bounds.w; - window->w = bounds.w; + window->h = bounds.h; if (_this->SetWindowPosition) { _this->SetWindowPosition(_this, window);