Now it works, stupid me: I did'nt notice the "n" in the "#ifndef" condition, there was another putenv buried inside :(<br><br>Thanks everybody for helping.<br><br><div><span class="gmail_quote">2007/3/23, Eduardo Lima <
<a href="mailto:eblima@gmail.com">eblima@gmail.com</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On 3/23/07, Alessandro Pasotti <
<a href="mailto:apasotti@gmail.com">apasotti@gmail.com</a>> wrote:<br>><br>[...]<br>><br>> I tested also<br>> putenv("SDL_VIDEO_X11_WMCLASS=tuxpaint");<br>> after main()<br>><br><br>You should place the setenv/putenv call before sdl_init() call and add
<br>the StartupWMClass=tuxpaint entry in your .desktop file. As examples,<br>canola and carman are SDL applications which show the icons in the<br>task navigator.<br><br>Best Regards, Etrunko.<br><br>--<br>Eduardo de Barros Lima
<br>INdT - Instituto Nokia de Tecnologia<br><a href="mailto:eblima@gmail.com">eblima@gmail.com</a><br></blockquote></div><br><br clear="all"><br>-- <br>Alessandro Pasotti<br>w3: <a href="http://www.itopen.it">www.itopen.it
</a>