how to detect composit manager
Dan Winship
danw at novell.com
Thu Aug 10 15:37:57 EEST 2006
Oleg Sukhodolsky wrote:
> is there any standard way to detect if a composite manager is running
> on the system?
Yes. The latest CVS version of the EWMH defines a manager selection
_NET_WM_CM_S0 (for screen 0, _S1 for screen 1, etc). If you're using gtk
2.10, you can use gdk_screen_is_composited() to test it. (If not, you
can look at that code to see how to test it.)
The only catch is that this was added to the EWMH fairly recently, and
the version of Compiz in SUSE 10.1 doesn't support the hint.
-- Dan
More information about the xdg
mailing list