- XSetWindowBackground(display,win,WhitePixel(display,0));
+ XSetWindowBackground(display,win,WhitePixel(display,0));
+
+// XStringListToTextProperty(&argv[1], 1, &name);
+// XSetWMName(display, win, &name);
+ XChangeProperty(display, win, nameprop, nameenc, 8,
+ PropModeAppend, argv[1], strlen(argv[1]));