Path: utzoo!attcan!uunet!cs.utexas.edu!tut.cis.ohio-state.edu!bloom-beacon!LARRY.MCRCIM.MCGILL.EDU!mouse From: mouse@LARRY.MCRCIM.MCGILL.EDU (der Mouse) Newsgroups: comp.windows.x Subject: Re: problem with colormap (X11) Message-ID: <8910270827.AA14049@Larry.McRCIM.McGill.EDU> Date: 27 Oct 89 08:27:23 GMT Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 25 >> I create a private colormap for a specific window as follows: >> my_cmap = XCreateColormap(display, win, visual, AllocAll); >> XSetWindowColormap(dipaly, win, my_cmap); > This notifies the window manager that this window should have your > private colormap installed when the window gets the input focus. Oops, is it not permitted for the window manager to separate keyboard focus from colormap focus? > The colormap should be installed immediately, Now wait a minute, I thought you said the colormap was installed when the program has keyboard focus. Or is the window manager required to immediately reassign keyboard focus whenever a window with a private colormap is created? Run that by me again? I thought PointerRoot focus was a permitted keyboard focus policy! (Oops, sorry, I get it now: the window manager warps the mouse to the new window! Yes, that must be it.) der Mouse old: mcgill-vision!mouse new: mouse@larry.mcrcim.mcgill.edu