src/video/windows/SDL_windowswindow.c
changeset 7817 357bccc72a1c
parent 7775 dad9001a9fc7
child 7828 1451063c8ecd
--- a/src/video/windows/SDL_windowswindow.c	Mon Oct 14 08:56:50 2013 -0700
+++ b/src/video/windows/SDL_windowswindow.c	Mon Oct 14 08:56:55 2013 -0700
@@ -403,6 +403,9 @@
 WIN_RaiseWindow(_THIS, SDL_Window * window)
 {
     WIN_SetWindowPositionInternal(_this, window, SWP_NOCOPYBITS | SWP_NOMOVE | SWP_NOSIZE);
+
+    /* Raising the window while alt-tabbed can cause it to be minimized for some reason? */
+    WIN_RestoreWindow(_this, window);
 }
 
 void