Sam Lantinga
1aeeb6e96a
Fixed bug where an SDL window that was activated while hidden could never be shown.
Test code:
{
SDL_Window *win = SDL_CreateWindow( "Dummy", SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_CENTERED, 128, 128, SDL_WINDOW_HIDDEN );
SDL_SysWMinfo info;
SDL_VERSION( &info.version );
SDL_GetWindowWMInfo( win, &info );
SetActiveWindow( info.info.win.window );
{
DWORD then = SDL_GetTicks();
while ( ( SDL_GetTicks() - then ) < 3000 )
{
SDL_Event evt;
SDL_PollEvent( &evt );
}
SDL_ShowWindow( win );
then = SDL_GetTicks();
while ( ( SDL_GetTicks() - then ) < 3000 )
{
SDL_Event evt;
SDL_PollEvent( &evt );
}
}
SDL_DestroyWindow( win );
}
2018-03-26 12:38:29 -07:00
..
2018-01-03 10:03:25 -08:00
2018-02-24 08:23:44 -08:00
2018-03-16 11:08:53 -07:00
2018-01-03 10:03:25 -08:00
2018-03-07 13:30:40 -08:00
2018-01-30 18:12:25 -08:00
2018-01-03 10:03:25 -08:00
2018-02-12 17:00:00 +03:00
2018-01-03 10:03:25 -08:00
2018-03-19 14:52:53 -07:00
2018-01-30 16:53:24 -08:00
2018-01-03 10:03:25 -08:00
2018-02-10 12:43:11 -08:00
2018-01-03 10:03:25 -08:00
2018-02-21 22:53:52 -05:00
2018-02-13 08:13:29 -08:00
2018-02-25 10:15:00 +03:00
2018-02-25 19:51:34 -08:00
2018-01-03 10:03:25 -08:00
2018-03-26 12:38:29 -07:00
2018-01-03 10:03:25 -08:00
2018-03-02 22:53:25 -08:00
2018-01-03 10:03:25 -08:00
2018-01-03 10:03:25 -08:00
2018-01-03 10:03:25 -08:00
2018-01-03 10:03:25 -08:00
2018-01-03 10:03:25 -08:00
2018-01-03 10:03:25 -08:00
2018-01-03 10:03:25 -08:00
2018-02-21 09:40:47 -08:00