[comp.windows.x] Multiple programs/colourmaps under same MAIN application.

gordonc@aifh.ed.ac.uk (Gordon Cameron (RA DAI)) (04/15/91)

I have the following problem : I have a couple of X applications (which use
their own dynamic colourmaps of around 200 colours) running under control of
a common main program. Only one of these X utilities can be running at any
one time, but the problem is that after having executed one, running the
other causes colours to be swapped in and out as you enter and leave the
canvas to which the colourmap is attached.

I suspect that, after exiting the first application and 'xv_destroy'-ing the
tool, that somehow the colours have not been 'given back' to the server. Whether
or not this is the case, does anyone know how I can get round the problem ??
(Incidentally, the display is 8 bits deep, hence 256 colours....)

Thanks in advance....

Gordon Cameron,
Department of Artificial Intelligence,
University of Edinburgh,
Forrest Hill,
Edinburgh,
SCOTLAND...

email : gordonc@uk.ac.edai.fh