|
|
1.1 root 1: #include "copyright.h"
2:
3: /* $Header: XStName.c,v 11.9 87/09/11 08:07:39 toddb Exp $ */
4: /* Copyright Massachusetts Institute of Technology 1986 */
5:
6: #include "Xlibint.h"
7: #include "Xatom.h"
8:
9: XStoreName (dpy, w, name)
10: register Display *dpy;
11: Window w;
12: char *name;
13: {
14: XChangeProperty(dpy, w, XA_WM_NAME, XA_STRING,
15: 8, PropModeReplace, (unsigned char *)name, strlen(name));
16: }
17:
18: XSetIconName (dpy, w, icon_name)
19: register Display *dpy;
20: Window w;
21: char *icon_name;
22: {
23: XChangeProperty(dpy, w, XA_WM_ICON_NAME, XA_STRING,
24: 8, PropModeReplace, (unsigned char *)icon_name, strlen(icon_name));
25: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.