XSetSubwindowMode

Syntax

XSetSubwindowMode(display, gc, subwindow_mode)
      Display *display;
      GC gc;
      int subwindow_mode;

Arguments

display Specifies the connection to the X server.
gc Specifies the GC.
subwindow_mode Specifies the subwindow mode. You can pass ClipByChildren or IncludeInferiors.

Description

XSetSubwindowMode() can generate BadAlloc , BadGC , and BadValue errors.

Diagnostics

BadAlloc The server failed to allocate the requested source or server memory.
BadGC A value for a GContext argument does not name a defined GContext.
BadValue Some numeric value falls outside the range of values accepted by the request. Unless a specific range is specified for an argument, the full range defined by the argument's type is accepted. Any argument defined as a set of alternatives can generate this error.

See also

XCopyArea(), XCreateGC(), XQueryBestSize(), XSetArcMode(), XSetClipOrigin(), XSetFillStyle(), XSetFont(), XSetGraphicsExposures(), XSetLineAttributes(), XSetState(), XSetTile(), "Setting the Arc Mode, Subwindow Mode, and Graphics Exposure".
Christophe Tronche, [email protected]