XGetWindowAttributes (3) Linux Manual Page
XGetWindowAttributes, XGetGeometry, XWindowAttributes – get current window attribute or geometry and current window attributes structure SyntaxStatus XGetWindowAttributes(Display *display, Window w, XWindowAttributes *window_attributes_return); Status XGetGeometry(Display *display, Drawable d, Window *root_return, int *x_return, int *y_return, unsigned int *width_return, unsigned int *height_return, unsigned int *border_width_return, unsigned int *depth_return);Argumentsborder_width_return Returns the border width in pixels. d Specifies the drawable,…
