Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!snorkelwacker!bloom-beacon!HARVARD.HARVARD.EDU!kochhar From: kochhar@HARVARD.HARVARD.EDU Newsgroups: comp.windows.x Subject: Re: ICCCM and colormaps---simple question Message-ID: <9002130408.AA13069@ATHENA.MIT.EDU> Date: 13 Feb 90 04:09:05 GMT References: <9002130334.AA11409@Larry.McRCIM.McGill.EDU> Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 29 > >What I recommend (and use in my programs) is to provide an option the >user can use which means that there's no window manager running (or at >least if there is it doesn't handle window colormaps correctly), and >that the program should call XInstallColormap and XUninstallColormap >itself at appropriate times (typically on EnterNotify and LeaveNotify >events). There are doubtless other reasonable approaches; I don't >suppose it really makes much difference which one you pick. > > der Mouse > > old: mcgill-vision!mouse > new: mouse@larry.mcrcim.mcgill.edu Thanks for your reply. I was also wondering; instead of having the user specify that no window manager is running, is there a way for the application to automatically detect that? For example, twm seems to be able to detect that another window manager is already running; I haven't been able to figure out how it does that---do you know how it might do that? Thanks Sandeep Kochhar (617) 495-3988 mail: kochhar@harvard.harvard.edu Harvard University kochhar@harvard.csnet 33 Oxford st, kochhar@harvard.uucp Cambridge, MA 02138 kochhar@harvard.bitnet