Lines Matching defs:cwin
1416 ColormapWindow *cwin;
1420 cwin = (ColormapWindow *) malloc(sizeof(ColormapWindow));
1421 if (cwin) {
1423 XSaveContext(dpy, w, ColormapContext, (XPointer) cwin)) {
1424 free(cwin);
1429 (XPointer *) &cwin->colormap) == XCNOENT) {
1430 cwin->colormap = cmap = CreateTwmColormap(attributes.colormap);
1433 free(cwin);
1438 cwin->colormap->refcnt++;
1441 cwin->w = w;
1447 cwin->visibility = creating_parent ?
1449 cwin->refcnt = 1;
1465 return (cwin);