davis@groucho.ucar.edu (Glenn P. Davis) (11/04/89)
In section 6.4 of the ICCCM, there are a couple of "conventions" which refer to a WM_COLORMAP_WINDOWS property. This is also mentioned in section 4.1.8. 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? Glenn P. Davis UCAR / Unidata PO Box 3000 1685 38th St. Boulder, CO 80307-3000 Boulder, CO 80301 (303) 497 8643
rws@EXPO.LCS.MIT.EDU (Bob Scheifler) (11/04/89)
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.