Newsgroups: comp.sys.hp
Path: utzoo!utgpu!watserv1!sunee!maxwell!gordon
From: gordon@maxwell.waterloo.edu (Gordon R. Strachan)
Subject: starbase under X11
Message-ID: <1991Jan29.211522.12751@sunee.waterloo.edu>
Sender: daemon@sunee.waterloo.edu
Reply-To: gordon@maxwell.waterloo.edu (Gordon R. Strachan)
Organization: University of Waterloo, Waterloo Ont.
Date: Tue, 29 Jan 91 21:15:22 GMT
Lines: 43

Okay here is a question that has stumped me for a long time.  I am using
starbase in an X11 window on an HP 9000 series 300 workstation with the motif
window manager.  When I create the X window, I set the XSetCloseDownMode
to RetainTemporary so that the window isn't destroyed when the program
terminates.  When I open starbase (with either the 300h or sox11 device driver)
I specify INIT so that the starbase colour map gets installed into the window.

Now, everything works fine, the colour map is used and is installed by the
window manager when the graphics window has the input focus.  But when the
program terminates and I call gclose, the starbase colour map disappears and
the default X colour map is reloaded.  So, even though my window has been
retained after the program ends, the colour map I was using disappears.  Who is
doing this?  Is gclose re-installing the original colour map for some reason?
More importantly, is there anyway I can get it to stop doing that?

Gordon
Newsgroups: comp.sys.hp
Subject: starbase in an X11 window
Expires: 
References: 
Sender: 
Reply-To: gordon@maxwell.waterloo.edu (Gordon R. Strachan)
Followup-To: 
Distribution: 
Organization: University of Waterloo, Waterloo Ont.
Keywords: 

Okay here is a question that has stumped me for a long time.  I am using
starbase in an X11 window on an HP 9000 series 300 workstation with the motif
window manager.  When I create the X window, I set the XSetCloseDownMode
to RetainTemporary so that the window isn't destroyed when the program
terminates.  When I open starbase (with either the 300h or sox11 device driver)
I specify INIT so that the starbase colour map gets installed into the window.

Now, everything works fine, the colour map is used and is installed by the
window manager when the graphics window has the input focus.  But when the
program terminates and I call gclose, the starbase colour map disappears and
the default X colour map is reloaded.  So, even though my window has been
retained after the program ends, the colour map I was using disappears.  Who is
doing this?  Is gclose re-installing the original colour map for some reason?
More importantly, is there anyway I can get it to stop doing that?

Gordon
