Skip to content
Browse files

Fixed bug where a window created fullscreen and hidden would get acti…

…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 a396841f8ddf095dde0610df7aebb998c400765a
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/video/windows/SDL_windowswindow.c
@@ -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;

0 comments on commit a396841

Please sign in to comment.