I'm writing a test application to set the _NET_WM_WINDOW_OPACITY property, to make a window transparent when using xcompmgr. The problem I've run into is that this property seems to need to be set on the window's frame, not on the window itself. Here's the code I have to set the property on the current window:

        self.window.change_property(self._NET_WM_WINDOW_OPACITY, Xatom.CARDINAL, 32, [0x80, 0, 0, 0], X.PropModeReplace)

How would I go about getting the window's frame and setting the property on that instead?

--
David H. Bronke
Vice President of Project Development
G33X Nexus Entertainment
http://www.g33xnexus.com/

v3sw5/7Hhw5/6ln4pr6Ock3ma7u7+8Lw3/7Tm3l6+7Gi2e4t4Mb7Hen5g8+9ORPa22s6MSr7p6 hackerkey.com
Support Web Standards! http://www.webstandards.org/