Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!crdgw1!uakari.primate.wisc.edu!sdd.hp.com!usc!jarthur!ucivax!orion.oac.uci.edu!ucsd!ucbvax!BAE.BELLCORE.COM!aw From: aw@BAE.BELLCORE.COM (Andrew Wason) Newsgroups: comp.windows.x.motif Subject: Re: Sharing a colormap after I make my own... Message-ID: <9105031400.AA09788@bellcore.bellcore.com> Date: 3 May 91 14:00:09 GMT References: <1991May3.032457.21582@ux1.cso.uiuc.edu> Sender: daemon@ucbvax.BERKELEY.EDU Distribution: inet Organization: The Internet Lines: 21 usc!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!mp.cs.niu.edu!ux 1.cso.uiuc.edu!usenet@ucsd.edu (John/Consultant) writes: > > I create toplevel with XtCreateApplicationShell and widget1 and widget2 with > XtCreatePopupShell using toplevel as the parent and transientShellWidgetClass > for the shelltype. > > I then realize my toplevel widget and create my own colormap installing it > onto toplevel using XSetWindowColormap...However when I run my program the > two transientShellWidgets don't get that colormap (they get the default one). Did you realize your two transient shells before calling XSetWindowColormap on them? They won't have windows until you do. Andrew _______________________________________________________________________________ Andrew Wason Bell Communications Research aw@bae.bellcore.com Piscataway, NJ bellcore!bae!aw