• Show log

    Commit

  • Hash : 4d78a995
    Author : Sam Lantinga
    Date : 2018-03-26T12:38:29

    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 );
    }
    

  • Properties

  • Git HTTP https://git.kmx.io/kc3-lang/SDL.git
    Git SSH git@git.kmx.io:kc3-lang/SDL.git
    Public access ? public
    Description

    Fork of https://github.com/libsdl-org/SDL

    Users
    thodg_m kc3_lang_org thodg_w www_kmx_io thodg thodg_l
    Tags