Path: utzoo!utgpu!watserv1!watmath!att!linac!uwm.edu!wuarchive!bcm!etaylor From: etaylor@wilkins.iaims.bcm.tmc.edu (Eric Taylor) Newsgroups: comp.windows.x Subject: Re: How to display two or more xloadimage windows Message-ID: <2950@gazette.bcm.tmc.edu> Date: 29 Nov 90 15:31:30 GMT References: <1033@babcock.cerc.wvu.wvnet.edu> Sender: usenet@bcm.tmc.edu Reply-To: etaylor@wilkins.iaims.bcm.tmc.edu (Eric Taylor) Organization: Baylor College of Medicine, Houston, Tx Lines: 29 Nntp-Posting-Host: wilkins.iaims.bcm.tmc.edu In article <1033@babcock.cerc.wvu.wvnet.edu>, sriniv@cathedral.cerc.wvu.wvnet.edu (Srinivas Kankanahalli) writes: |> Hi |> Can someone suggest a way to display two or more colour images in |> different windows using xloadimage?. The problem we are facing is |> that there is only one window in focus. As soon as the cursor is moved |> out of the window, the image disappears. If the cursor is taken to the |> other window, the image becomes active. We think it is due to sharing |> or non-sharing of colourmaps. Can somebody please help. |> -srini |> sriniv@cerc.wvu.wvnet.edu You have a fundamental problem shared by everyone with 8-bit workstations. You can't do it all of the time. You can only approximate. It is not a problem with focus. Only one colormap can be installed at any given time (with most hardware. I believe the Silicon Graphics can have 16 at one time). You might try bringing up your X server with an 8-bit TrueColor Visual. This will give you very choppy images, but it will do it. If this is unstatisfactory, I can give you a program that addresses this very problem and will display very nice images that share the default colormap. -- Eric Taylor Baylor College of Medicine etaylor@wilkins.bmc.tmc.edu (713) 798-3776