Status XFetchName(display, w, window_name_return)
Display *display;
Window w;
char **window_name_return;
display | Specifies the connection to the X server. |
w | Specifies the window. |
window_name_return | Returns the window name, which is a null-terminated string. |
XFetchName() can generate a BadWindow error.
BadWindow | A value for a Window argument does not name a defined Window. |