src/video/SDL_video.c
changeset 12153 de4288fa5b0b
parent 12151 5b9895d82ebe
child 12201 8bdc4d340419
equal deleted inserted replaced
12152:cb129c06aa86 12153:de4288fa5b0b
  1541     }
  1541     }
  1542 
  1542 
  1543 	// Clear minimized if not on windows, only windows handles it at create rather than FinishWindowCreation,
  1543 	// Clear minimized if not on windows, only windows handles it at create rather than FinishWindowCreation,
  1544 	// but it's important or window focus will get broken on windows!
  1544 	// but it's important or window focus will get broken on windows!
  1545 #if !defined(__WIN32__)
  1545 #if !defined(__WIN32__)
  1546 	if ( window->flags & SDL_WINDOW_MINIMIZED )
  1546 	if (window->flags & SDL_WINDOW_MINIMIZED) {
  1547 		window->flags &= ~SDL_WINDOW_MINIMIZED;
  1547 		window->flags &= ~SDL_WINDOW_MINIMIZED;
       
  1548     }
  1548 #endif
  1549 #endif
  1549 
  1550 
  1550 #if __WINRT__ && (NTDDI_VERSION < NTDDI_WIN10)
  1551 #if __WINRT__ && (NTDDI_VERSION < NTDDI_WIN10)
  1551     /* HACK: WinRT 8.x apps can't choose whether or not they are fullscreen
  1552     /* HACK: WinRT 8.x apps can't choose whether or not they are fullscreen
  1552        or not.  The user can choose this, via OS-provided UI, but this can't
  1553        or not.  The user can choose this, via OS-provided UI, but this can't