# HG changeset patch # User Sam Lantinga # Date 1230889825 0 # Node ID 9f16a1761fa5b5abf494317012b86216e4a39b6d # Parent 91708bc14aabd09404635085afc9513208195657 The _NET_WM_ICON protocol doesn't require the icon to be set before the window is shown. diff -r 91708bc14aab -r 9f16a1761fa5 include/SDL_video.h --- a/include/SDL_video.h Fri Jan 02 09:27:36 2009 +0000 +++ b/include/SDL_video.h Fri Jan 02 09:50:25 2009 +0000 @@ -596,8 +596,6 @@ * \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);