Path: utzoo!attcan!uunet!cs.utexas.edu!tut.cis.ohio-state.edu!bloom-beacon!EXPO.LCS.MIT.EDU!rws From: rws@EXPO.LCS.MIT.EDU (Bob Scheifler) Newsgroups: comp.windows.x Subject: Re: Where is WM_COLORMAP_WINDOWS Message-ID: <8911041425.AA01511@expire.lcs.mit.edu> Date: 4 Nov 89 14:25:45 GMT References: <4978@ncar.ucar.edu> Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 12 A grep of X11/*.h fails to find this. (In particular, its not in Xatom.h . Am I missing something or is this something new for release 4? The X protocol defines some "pre-defined" atom values in an attempt to avoid round-trip InternAtom requests by lots of clients. But there are certainly atom names in the ICCCM that aren't in the pre-defined set. For those (like WM_COLORMAP_WINDOWS) you have to call XInternAtom to get the value. The R4 Xlib will have routines for most (all?) of the ICCCM-related stuff, so e.g. you'll be able to call XSetWMColormapWindows and Xlib will take care of creating the appropriate atom on demand.