SDL_WM_SetIcon() in X11

Hi all,

I use the SDL_WM_SetIcon() call to set a .bmp file as the window’s icon
and find kind of strange results in X11:

Most window managers show the icon correctly (e.g. kwin, metacity, …)
but fvwm does not. I compared the output of xprops for my window to some
that correctly show an icon in fvwm and found that they have a property
where xprops can display an ascii-art representation of the icon, my own
window does not…

So, there are obviously multiple methods of setting icon hints on X11
windows? Is there a way in SDL to set a hint that fvwm understands? Or
would I have to code it myself (and if so, does anybody know a good
source of information to read)? I already have a special code path for
win32 using an embedded ICO resource instead of calling SDL_WM_SetIcon().

Felix Palmen (Zirias) + [PGP] Felix Palmen <@Felix_Palmen>
web: |
my open source projects: | Fingerprint: ED9B 62D0 BE39 32F9 2488 + 5D0C 8177 9D80 5ECF F683

-------------- next part --------------
A non-text attachment was scrubbed…
Name: signature.asc
Type: application/pgp-signature
Size: 378 bytes
Desc: OpenPGP digital signature