Xref: utzoo comp.windows.x:19791 comp.sys.hp:4597 Path: utzoo!attcan!uunet!ns-mx!iowasp!deimos!ux1.cso.uiuc.edu!uwm.edu!rpi!zaphod.mps.ohio-state.edu!usc!ucsd!ucsdhub!hp-sdd!hp-pcd!hplsla!hpubvwa!grlab!scott From: scott@grlab.UUCP (Scott Blachowicz) Newsgroups: comp.windows.x,comp.sys.hp Subject: Colormap changing and gwm... Message-ID: Date: 13 Mar 90 18:26:02 GMT Sender: news@grlab.UUCP Organization: Graphicus, Inc., Kirkland, WA USA Lines: 28 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