The _NET_WM_ICON protocol doesn't require the icon to be set before the window is shown.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403423
This commit is contained in:
Sam Lantinga 2009-01-02 09:50:25 +00:00
parent 0fc4da0d04
commit 382a1fe6c7

View file

@ -596,8 +596,6 @@ extern DECLSPEC const char *SDLCALL SDL_GetWindowTitle(SDL_WindowID windowID);
* \brief Set the icon of the window.
*
* \param icon The icon for the window
*
* FIXME: The icon needs to be set before the window is first shown. Should some icon representation be part of the window creation data?
*/
extern DECLSPEC void SDLCALL SDL_SetWindowIcon(SDL_Surface * icon);