Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!EXPO.LCS.MIT.EDU!rws From: rws@EXPO.LCS.MIT.EDU Newsgroups: comp.windows.x Subject: Re: Sharing colormaps? Message-ID: <8907101216.AA04014@expire.lcs.mit.edu> Date: 10 Jul 89 12:16:16 GMT References: Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 13 (1) Is there any way to tell the server that the colormap should not be destroyed when the application that created it exits? Create the colormap, and allocate the entries, using a separate connection. Use XSetCloseDownMode to set RetainPermanent before closing this connection. (2) Is there any way to turn read/write colors into read-only? No, but the RetainPermanent will ensure that writable allocations persist. (Hmm, since the writing client will no longer exist, it would be interesting if the server changed the entries to read-only on close. Needs some thought.)