scott@grlab.UUCP (Scott Blachowicz) (03/14/90)
Hi- I'm running gwm 1.5d on an HP9000/375 with HP-UX 6.5. I'm using HP's xwcreate program to create a window for use with their Starbase graphics package(using the "sox11" driver). At any rate, Starbase sets up a colormap for the X-window that I don't want it to do. After initialization, I set the window's colormap back to the root-window's colormap with code that looks like this: XGetWindowAttributes (display, graph_child_id, &graph_attr); XGetWindowAttributes (display, root_window, &root_attr); XSetWindowColormap (display, graph_child_id, root_attr.colormap); XFreeColormap (display, graph_attr.colormap); XSync (display, 0); The colormap gets setup OK...I inquire it later and it is then set to the root colormap. However, gwm will complain about it with messages like this: Gwm X error: X_InstallColormap(0x1495c): no such colormap It seems gwm isn't recognizing the colormap change. Is there some magic I need to do to get gwm to recognize a ColormapNotify? or am I doing things the wrong way? Thanx, -- Scott Blachowicz E-mail: scott@grlab.UUCP USPS: Graphicus ..or.. ...!hpubvwa!grlab!scott 150 Lake Str S, #206 VoicePh: 206/828-4691 Kirkland, WA USA 98033 FAX: 206/828-4236