Hi Niels, I didn't mention that previously, because the implementation of SaWManCreate is not designed to be called multiple times and looks like it will corrupt things like the reference count...
Regards, Timothy >-----Original Message----- >From: Niels Roest [mailto:ni...@directfb.org] >Sent: Thursday, August 13, 2009 10:04 AM >To: Strelchun, Timothy >Cc: 'directfb-dev@directfb.org' >Subject: Re: [directfb-dev] detecting sawman > >An alternative approach is to simply do SaWManCreate(), if no >SaWMan active, this will fail with DFB_NOIMPL, but will also >throw a D_ERROR. >If the call succeeds, do not forget to ret_sawman->Release() >to avoid leaks. > >hth >Niels > >Strelchun, Timothy wrote: >> Hi Chris, >> >> >>> Is there a way to detect (other than looking at directfbrc) >what the >>> current window manager is? in particular if its sawman? >>> >> >> I checked and was surprised to not find another approach >(checking /etc/directfbrc, ~/.directfbrc, environment variable >plus command-line overrides - yuck!). >> >> Perhaps there is an approach in which Fusion could be >queried for the arena name used by SaWMan... >> >> Timothy >> >> -- >> >> Timothy Strelchun >> CE Software Engineering >> Digital Home Group >> Intel Corporation >> >> The views expressed above are my own and not those of Intel _______________________________________________ directfb-dev mailing list directfb-dev@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev