Solaris X Window System Developer's Guide

Querying the Characteristics of a Transparent Overlay Window

You can determine whether a window is an overlay window using the routine XSolarisOvlIsOverlayWindow. You can also determine a GC's current paint type using the routine XSolarisOvlGetPaintType.

Determining Whether a Window is an Overlay Window

You can use the routine XSolarisOvlIsOverlayWindow to determine whether a window is an overlay window. The routine returns True if the given window w is a transparent overlay and returns False otherwise.

Bool

XSolarisOvlIsOverlayWindow (Display *display, Window

w)

display

Specifies the connection to the X server. 

w

Specifies the window. 

Determining the Paint Type of a Graphics Context

The routine XSolarisOvlGetPaintType returns the GC's current paint type.

XSolarisOvlPaintType

XSolarisOvlGetPaintType (Display *display, GC

gc)

display

Specifies the connection to the X server. 

gc

The GC to be inquired about.