int XWMGeometry(display, screen, user_geom, def_geom, bwidth, hints, x_return, y_return,
                width_return, height_return, gravity_return)
      Display *display;
      int screen;
      char *user_geom;
      char *def_geom;
      unsigned int bwidth;
      XSizeHints *hints;
      int *x_return, *y_return; 
      int *width_return;
      int *height_return;
      int *gravity_return;
| display | Specifies the connection to the X server. | 
| screen | Specifies the screen. | 
| user_geom | Specifies the user-specified geometry or NULL. | 
| def_geom | Specifies the application's default geometry or NULL. | 
| bwidth | Specifies the border width. | 
| hints | Specifies the size hints for the window in its normal state. | 
|  x_return y_return  | Return the x and y offsets. | 
|  width_return height_return  | Return the width and height determined. | 
| gravity_return | Returns the window gravity. | 
Note that invalid geometry specifications can cause a width or height of zero to be returned. The caller may pass the address of the hints win_gravity field as gravity_return to update the hints directly.