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
-----Original Message-----
From: directfb-dev-boun...@directfb.org
[mailto:directfb-dev-boun...@directfb.org] On Behalf Of
Christopher Johnson
Sent: Friday, July 24, 2009 9:28 AM
To: DirectFB Developers
Subject: [directfb-dev] detecting sawman
Is there a way to detect (other than looking at directfbrc)
what the current window manager is? in particular if its sawman?
_______________________________________________
directfb-dev mailing list
directfb-dev@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev
--
.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/ |
"------------------------------------------"
_______________________________________________
directfb-dev mailing list
directfb-dev@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev