nanogui: question about GrOpen()..


Previous by date: 28 Feb 2001 17:04:08 -0000 Re: question about GrOpen().., Alex Holden
Next by date: 28 Feb 2001 17:04:08 -0000 Re: question about GrOpen().., LC. Chang
Previous in thread: 28 Feb 2001 17:04:08 -0000 Re: question about GrOpen().., Alex Holden
Next in thread: 28 Feb 2001 17:04:08 -0000 Re: question about GrOpen().., LC. Chang

Subject: Re: question about GrOpen()..
From: "Greg Haerr" ####@####.####
Date: 28 Feb 2001 17:04:08 -0000
Message-Id: <060401c0a1a8$83377000$15320cd0@gregh>

:it in turn calls open_display which calls GrOpen
: to open display and return fail. If we don't use GrOpen
: here, we will not be able to get output. Does anybody know
: how to do this? or other method to check whether nano-X
: server is already running?

I've had this problem before when porting certain
programs to Nano-X that support talking to multiple
windowing systems, and want to know whether the
Nano-X server is running or not.

The solution I've used is to use GrOpen() check the
return value, and if OK, then call GrClose().  Afterwards,
you can then call GrOpen() again and it should work.
We made need to add a different open call sometime if
this doesn't work for you.

Regards,

Greg



Previous by date: 28 Feb 2001 17:04:08 -0000 Re: question about GrOpen().., Alex Holden
Next by date: 28 Feb 2001 17:04:08 -0000 Re: question about GrOpen().., LC. Chang
Previous in thread: 28 Feb 2001 17:04:08 -0000 Re: question about GrOpen().., Alex Holden
Next in thread: 28 Feb 2001 17:04:08 -0000 Re: question about GrOpen().., LC. Chang


Powered by ezmlm-browse 0.20.