Set the window width and height when moving

This commit is contained in:
Frank Praznik 2023-02-17 09:24:07 -05:00
parent 630c23ce17
commit 39e6d4a891
1 changed files with 1 additions and 1 deletions

View File

@ -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);