XSetWindowBorderWidth() XSetWindowBorderWidth()
Name
XSetWindowBorderWidth - change the border width of a window.
Synopsis
XSetWindowBorderWidth(display, w, width)
Display *display;
Window w;
unsigned int width;
Arguments
display Specifies a connection to an X server; returned from XOpenDisplay().
w Specifies the ID of the window whose border is to be changed.
width Specifies the width of the window border.
Description
XSetWindowBorderWidth() changes the border width of a window. This request is often used on top-level windows by the window manager as an
indication of the current keyboard focus window, so other clients should not depend on the border width of top-level windows.
Errors
BadMatch Setting border width of an InputOnly window.
BadWindow
See Also
XCirculateSubwindows(), XCirculateSubwindowsDown(), XCirculateSubwindowsUp(), XConfigureWindow(), XLowerWindow(), XMoveResizeWindow(),
XMoveWindow(), XQueryTree(), XRaiseWindow(), XReparentWindow(), XResizeWindow(), XRestackWindows().
Xlib - Window Manipulation XSetWindowBorderWidth()