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.
Description
XSetWindowBorderPixmap() 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 appli-
cations should not depend on their settings.
Errors
BadMatch
BadPixmap
BadWindow
See Also
XCreateBitmapFromData(), XCreatePixmap(), XCreatePixmapFromBitmapData(), XFreePixmap(), XQueryBestSize(), XQueryBestStipple(), XQueryBest-
Tile(), XReadBitmapFile(), XSetTile(), XSetWindowBackgroundPixmap(), XWriteBitmapFile().
Xlib - Pixmaps and Tiles XSetWindowBorderPixmap()