Specifies the background pixmap,
ParentRelative,
or
None.
Description
The
XSetWindowBackgroundPixmap()
function sets the background pixmap of the window to the specified pixmap.
The background pixmap can immediately be freed if no further explicit
references to it are to be made.
If
ParentRelative
is specified,
the background pixmap of the window's parent is used,
or on the root window, the default background is restored.
If you try to change the background of an
InputOnly
window, a
BadMatch
error results.
If the background is set to
None,
the window has no defined background.
XSetWindowBackgroundPixmap()
can generate
BadMatch,
BadPixmap,
and
BadWindow
errors.
Note
XSetWindowBackground()
and
XSetWindowBackgroundPixmap()
do not change the current contents of the window.