nanogui: nano-X can't work!
Subject:
Re: [nanogui] nano-X can't work!
From:
####@####.####
Date:
12 Aug 2002 09:56:50 -0000
Message-Id: <OF6D91B29C.76B1B0A7-ON80256C13.003476EC@diamond.philips.com>
Hi,
That paramater is a UNIX file descriptor, used for read(), write() and select() system calls. It's not just a client ID, so you can't just add one to it.
If you want a "magic number" to use as the file descriptor for the compiled-in window manager, you'll need to use -1, since that is the *ONLY* file descriptor that is guaranteed not to be used by the OS.
Kind regards,
Jon
--
Private e-mail will be forwarded to the appropriate mailing list.
"wang" ####@####.#### wrote:
When I modify the fuction GsAcceptClient().
just modify GsAcceptClientFd(i);
for GsAcceptClientFd(i+1);
AT this time ,I just recompile nano-X in
nanox(no more other change,and not my new wm) ,
even so ,nano-X can't work well,I'm very
surprise that just such a little change ,why
cause so much problem ,can anyone give some
reason?
wang
####@####.####
2002-08-10