Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!know!zaphod.mps.ohio-state.edu!sdd.hp.com!hplabs!hpfcso!stroyan From: stroyan@hpfcso.HP.COM (Mike Stroyan) Newsgroups: comp.windows.x Subject: Re: problems setting colormaps for subwindows... Message-ID: <7320011@hpfcso.HP.COM> Date: 21 Aug 90 00:26:15 GMT References: <9008150543.AA14118@bullwinkle.unm.edu> Organization: Hewlett-Packard, Fort Collins, CO, USA Lines: 16 > With the ICCCM as it is, there's really no way for you to internally manage > your colormaps (for example, by installing the colormap of a subwindow when > the cursor enters it). The most portable thing for you to do is to have each > widget tree (i.e. shell widget and all its non-popup children) use the same > colormap. In other words, the children that have different colormaps should > each be in a separate popup tree. > -paul asente You _can_ manage the colormaps of subwindows with ICCCM rules. You can ask the window manager to favor particular subwindows by updating the order of windows in the WM_COLORMAP_WINDOWS property when the mouse enters and leaves subwindows. The problem with doing this is that very few window managers are correctly implementing the ICCCM behaviour. Mike Stroyan, stroyan@fc.hp.com