nanogui: 'Persistent' nano-X server
Subject:
'Persistent' nano-X server
From:
Timo Ketola ####@####.####
Date:
28 Mar 2000 07:53:29 -0000
Message-Id: <38E06204.C646C71F@Epec.fi>
Hi all,
Think found a bug:
GsAcceptClientFd should clear the client->prev member when that is the
first client
if(connectcount++ == 0) {
root_client = client;
==> client->prev = NULL; }
This problem appeared when I modified nano-X so that it doesn't
terminate when last client is dropped. I also ignored SIGPIPE (was
already ignored in ELKS). That one revealed a 'double close' problem. I
think GrClose should not be called in GsWrite because GsRead eventually
calls it.
Now the nano-X server works quite well when I start and stop
applications. Only problem seems to be that not everything is cleaned
up. For example stopping 'demo' leaves colored rectangles on the screen.
My sources are microwindows 0.88pre5.
--
Timo