int XGeometry(display, screen, position, default_position, bwidth, fwidth, fheight, xadder,
yadder, x_return, y_return, width_return, height_return)
Display *display;
int screen;
char *position, *default_position;
unsigned int bwidth;
unsigned int fwidth, fheight;
int xadder, yadder;
int *x_return, *y_return;
int *width_return, *height_return;
display | Specifies the connection to the X server. |
screen | Specifies the screen. |
position default_position | Specify the geometry specifications. |
bwidth | Specifies the border width. |
fheight fwidth | Specify the font height and width in pixels (increment size). |
xadder yadder | Specify additional interior padding needed in the window. |
x_return y_return | Return the x and y offsets. |
width_return height_return | Return the width and height determined. |
The returned width and height will be the width and height specified by default_position as overridden by any user-specified position. They are not affected by fwidth, fheight, xadder, or yadder. The x and y coordinates are computed by using the border width, the screen width and height, padding as specified by xadder and yadder, and the fheight and fwidth times the width and height from the geometry specifications.