XSetIconName(display, w, icon_name)
Display *display;
Window w;
char *icon_name;
| display | Specifies the connection to the X server. |
| w | Specifies the window. |
| icon_name | Specifies the icon name, which should be a null-terminated string. |
| BadAlloc | The server failed to allocate the requested source or server memory. |
| BadWindow | A value for a Window argument does not name a defined Window. |