Solaris X Window System Developer's Guide

Setting the Background State of a Transparent Overlay Window

You can set the background state of a transparent overlay window to be transparent with the XSolarisOvlSetWindowTransparent routine. Any background rendering that occurs after this request causes the background to be transparent. To change background state to any other value, use XChangeWindowAttributes(), XSetWindowBackground(), or XSetWindowBackgroundPixmap().

The syntax and arguments of XSolarisOvlSetWindowTransparent are shown below.


XSolarisOvlSetWindowTransparent (Display *display, Window



Specifies the connection to the X server. 


The transparent overlay window. 

Note –

If w is not a transparent overlay window, a BadMatch error results.