The _NET_WM_ICON protocol doesn't require the icon to be set before the window is shown.
authorSam Lantinga <slouken@libsdl.org>
Fri, 02 Jan 2009 09:50:25 +0000
changeset 29619f16a1761fa5
parent 2960 91708bc14aab
child 2962 1e242954330b
The _NET_WM_ICON protocol doesn't require the icon to be set before the window is shown.
include/SDL_video.h
     1.1 --- a/include/SDL_video.h	Fri Jan 02 09:27:36 2009 +0000
     1.2 +++ b/include/SDL_video.h	Fri Jan 02 09:50:25 2009 +0000
     1.3 @@ -596,8 +596,6 @@
     1.4   * \brief Set the icon of the window.
     1.5   *
     1.6   * \param icon The icon for the window
     1.7 - *
     1.8 - * FIXME: The icon needs to be set before the window is first shown.  Should some icon representation be part of the window creation data?
     1.9   */
    1.10  extern DECLSPEC void SDLCALL SDL_SetWindowIcon(SDL_Surface * icon);
    1.11