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

This commit is contained in:
Sam Lantinga 2009-01-02 09:50:25 +00:00
parent 02ae0f6a07
commit 7a39366cbb

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