XClearArea(3) | Library Functions Manual | XClearArea(3) |
int XClearArea(Display *display, Window w, int x, int y, unsigned width, unsigned height, Bool exposures);
int XClearWindow(Display *display, Window w);
XClearArea can generate BadMatch, BadValue, and BadWindow errors.
The XClearWindow function clears the entire area in the specified window and is equivalent to XClearArea (display, w, 0, 0, 0, 0, False). If the window has a defined background tile, the rectangle is tiled with a plane-mask of all ones and GXcopy function. If the window has background None, the contents of the window are not changed. If you specify a window whose class is InputOnly, a BadMatch error results.
XClearWindow can generate BadMatch and BadWindow errors.
X Version 11 | XLIB FUNCTIONS |