Path: utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!bionet!agate!darkstar!saturn.ucsc.edu!golding From: golding@saturn.ucsc.edu (Richard A. Golding) Newsgroups: comp.windows.x Subject: Re: Openwindows colormaps Message-ID: <6751@darkstar.ucsc.edu> Date: 10 Sep 90 19:56:05 GMT References: <9009062103.AA03202@zia.aoc.nrao.edu> Sender: usenet@darkstar.ucsc.edu Organization: University of California, Santa Cruz Lines: 44 In article <9009062103.AA03202@zia.aoc.nrao.edu> cflatter@ZIA.AOC.NRAO.EDU (Chris Flatters) writes: > >Andrew Hunt writes: > >>Whenever the cursor is moved over the workspace area, the default colormap >>is re-installed by the window manager (olwm). >> >>This behavior makes it all but impossible to run a serious image processing >>application under Openwindows. The only time the right colormap is >>installed is when the cursor is actually over one of the application's >>windows. >> >>What I want the window manager to do is to leave my application's color >>map installed when the cursor is moved onto the workspace. Motif >>Window Manager (mwm) seems to do this just fine, but I can't get olwm >>to behave in this way. > >If you really want the colormap to stay installed as you leave the window, >I think that you should be able to get the required behaviour by setting >the input area to click select in the workspace properties menu. The way to lock the colormap for a particular window using OLWM is to press the colormap lock key with the pointer over the window whose colormap you want to use. The default key sequence for this is Control+L2 (for those with Sun keyboards). The window will retain the "color focus" for as long as it exists, or until you lock in another window's colormap, or you unlock the colormap by pressing the color unlock key (Control+L4 by default.) The resources used to control colormaps are: OpenWindows.ColorLockKey (default "Control L2") is the key sequence to lock in a window's colormap. OpenWindows.ColorUnlockKey (default "Control L4") is the key sequence to unlock the colormap. OpenWindows.ColorFocusLocked (default "False") allows you to set OLWM to run in an mwm-like way. I don't use this option, so I don't recall exactly what it does. -richard -- ----------- Richard A. Golding, HP Labs (internship), golding@cello.hpl.hp.com UC Santa Cruz CIS Board (grad student), golding@cis.ucsc.edu and on leave from Crucible (work) {uunet|ucscc}!cruc!golding