how to detect composit manager

Soeren Sandmann sandmann at daimi.au.dk
Sat Aug 12 08:20:57 EEST 2006


Pat Suwalski <pat at suwalski.net> writes:

> Dan Winship wrote:
> > 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.)
> 
> Question: despite what the documentation says, does that function
> return true only when there is a compositing manager running, or just
> when the composite extension is there?

Err, what's unclear in the documentation? Or are you just assuming
it's wrong?

Soren



More information about the xdg mailing list