Set the window width and height when moving
This commit is contained in:
@@ -2196,7 +2196,7 @@ int SDL_SetWindowPosition(SDL_Window *window, int x, int y)
|
|||||||
window->x = bounds.x;
|
window->x = bounds.x;
|
||||||
window->y = bounds.y;
|
window->y = bounds.y;
|
||||||
window->w = bounds.w;
|
window->w = bounds.w;
|
||||||
window->w = bounds.w;
|
window->h = bounds.h;
|
||||||
|
|
||||||
if (_this->SetWindowPosition) {
|
if (_this->SetWindowPosition) {
|
||||||
_this->SetWindowPosition(_this, window);
|
_this->SetWindowPosition(_this, window);
|
||||||
|
|||||||
Reference in New Issue
Block a user