Skip to content

Commit

Permalink
Fixed bug where a window created fullscreen and hidden would get acti…
Browse files Browse the repository at this point in the history
…vated and "shown" but never actually be visible.

This is the case with the Steam In-Home Streaming client.
  • Loading branch information
slouken committed Feb 10, 2014
1 parent f38c1f0 commit a396841
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/video/windows/SDL_windowswindow.c
Expand Up @@ -553,7 +553,7 @@ WIN_SetWindowFullscreen(_THIS, SDL_Window * window, SDL_VideoDisplay * display,
}
SetWindowLong(hwnd, GWL_STYLE, style);
data->expected_resize = TRUE;
SetWindowPos(hwnd, top, x, y, w, h, SWP_NOCOPYBITS);
SetWindowPos(hwnd, top, x, y, w, h, SWP_NOCOPYBITS | SWP_NOACTIVATE);
data->expected_resize = FALSE;
}

Expand Down

0 comments on commit a396841

Please sign in to comment.