Status XQueryBestCursor(display, d, width, height, width_return, height_return)
Display *display;
Drawable d;
unsigned int width, height;
unsigned int *width_return, *height_return;
| display | Specifies the connection to the X server. |
| d | Specifies the drawable, which indicates the screen. |
| width | |
| height | Specify the width and height of the cursor that you want the size information for. |
| width_return | |
| height_return | Return the best width and height that is closest to the specified width and height. |
XQueryBestCursor() can generate a BadDrawable error.
| BadDrawable | A value for a Drawable argument does not name a defined Window or Pixmap. |