The
XSetWindowBorderPixmap()
function sets the border pixmap of the window to the pixmap you specify.
The border pixmap can be freed immediately if no further explicit
references to it are to be made.
Ifyou specify
.PN CopyFromParent ,
a copy of the parent window's border pixmap is used.
If you attempt to perform this on an
InputOnly
window, a
BadMatch
error results.
XSetWindowBorderPixmap()
can generate
BadMatch,
BadPixmap,
and
BadWindow
errors.