SDL2 hide "window icon"

I would like to know: how can I hide the “icon” from panel on sdl2?------------------------
My project

Heyya,

After a few minutes of playing around with off-the-top ideas, I must ask: why must you explicitly hide the icon? Why not just exclude making the call to SDL_SetWindowIcon if hiding the icon is the intended behavior?

My only other idea / suggestion for effectively hiding the icon (untested), assuming you are using PNG for the icon file, would be to create a duplicate icon (i.e.: same size dimensions), except in this file, you’d want 100% transparency (alpha) set, so that it would appear as though there was no window icon, and could easily be toggled to the other game icon if/when necessary.

Cheers,
Jeffrey Carpenter
<@Jeffrey_Carpenter>On 2014/10/ 27, at 18:14, samleo <samuel.leonardo19 at gmail.com> wrote:

I would like to know: how can I hide the “icon” from panel on sdl2?

My project
http://sourceforge.net/projects/dangeroustux/


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org