[SDL] How to indicate that a window type is desktop in SDL

Tony.Li lichuan.cn at gmail.com
Sun Aug 2 04:42:20 PDT 2009


Hi,everyone

  I'm trying to make a SDL application as a desktop environment such as
KDE,XFCE..

  But I don't know how to indicate  a  window  type is  desktop which  the
windows manager can  recognise.


  With Qt, I can do this by the codes as fllows:

setAttribute(Qt::WA_X11NetWmWindowTypeDesktop);
setWindowFlags(Qt::SplashScreen);

Qt::WindowFlags flags = 0;
    flags |= Qt::FramelessWindowHint;
    flags |= Qt::Tool;
    flags |= Qt::WindowStaysOnBottomHint;

    setWindowFlags(flags);


   I haven't found the similar  function in SDL API reference,how can I
achieve that in SDL ?

   Any help or suggestions will be greatly appreciated.

   Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20090802/3bf33146/attachment.htm>


More information about the SDL mailing list