|
@@ -219,8 +219,6 @@ SetupWindowData(_THIS, SDL_Window * window, HWND hwnd, HWND parent, SDL_bool cre
|
|
|
if ((window->windowed.w && window->windowed.w != w) || (window->windowed.h && window->windowed.h != h)) {
|
|
|
/* We tried to create a window larger than the desktop and Windows didn't allow it. Override! */
|
|
|
int x, y;
|
|
|
- int w, h;
|
|
|
-
|
|
|
/* Figure out what the window area will be */
|
|
|
WIN_AdjustWindowRect(window, &x, &y, &w, &h, SDL_FALSE);
|
|
|
SetWindowPos(hwnd, HWND_NOTOPMOST, x, y, w, h, SWP_NOCOPYBITS | SWP_NOZORDER | SWP_NOACTIVATE);
|