nanogui: 'Persistent' nano-X server


Previous by date: 28 Mar 2000 07:53:29 -0000 Re: FLTK app ported into Microwindows..., Norman Vine
Next by date: 28 Mar 2000 07:53:29 -0000 Re: Fonts in Microwin for LINUX, Greg Haerr
Previous in thread:
Next in thread: 28 Mar 2000 07:53:29 -0000 Re: 'Persistent' nano-X server, Greg Haerr

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


Previous by date: 28 Mar 2000 07:53:29 -0000 Re: FLTK app ported into Microwindows..., Norman Vine
Next by date: 28 Mar 2000 07:53:29 -0000 Re: Fonts in Microwin for LINUX, Greg Haerr
Previous in thread:
Next in thread: 28 Mar 2000 07:53:29 -0000 Re: 'Persistent' nano-X server, Greg Haerr


Powered by ezmlm-browse 0.20.