XSetWindowBorderPixmap()XSetWindowBorderPixmap()Name
XSetWindowBorderPixmap – change a window border tile attribute and
repaint the border.
Synopsis
XSetWindowBorderPixmap(display, w, border_pixmap)
Display *display;
Window w;
Pixmap border_pixmap;
Arguments
display Specifies a connection to an X server; returned from
XOpenDisplay().
w Specifies the ID of an InputOutput window whose border is to
be to a file.
border_pixmap
Specifies any pixmap or CopyFromParent.
DescriptionXSetWindowBorderPixmap() sets the border_pixmap attribute of a window
and repaints the border. The border_pixmap can be freed immediately
after the call if no further explicit references to it are to be made.
If you specify CopyFromParent, a copy of the parent window's border
pixmap is used.
This function can only be performed on an InputOutput window. On top-
level windows, the window manager often resets the border, so applica‐
tions should not depend on their settings.
Errors
BadMatch
BadPixmap
BadWindow
See AlsoXCreateBitmapFromData(), XCreatePixmap(), XCreatePixmapFromBitmap‐
Data(), XFreePixmap(), XQueryBestSize(), XQueryBestStipple(),
XQueryBestTile(), XReadBitmapFile(), XSetTile(), XSetWindowBackground‐
Pixmap(), XWriteBitmapFile().
Xlib - Pixmaps and Tiles XSetWindowBorderPixmap()