nanogui: Bug in srvclip2.c


Previous by date: 3 Oct 2000 09:58:12 -0000 MS truetype fonts included with Microwindows, Greg Haerr
Next by date: 3 Oct 2000 09:58:12 -0000 MS-DOS mouse driver not working., Arthur Tetzlaff-Deas
Previous in thread: 3 Oct 2000 09:58:12 -0000 Re: Bug in srvclip2.c, Alan Cox
Next in thread: 3 Oct 2000 09:58:12 -0000 Re: Bug in srvclip2.c, Greg Haerr

Subject: Re: Bug in srvclip2.c
From: Alex Holden ####@####.####
Date: 3 Oct 2000 09:58:12 -0000
Message-Id: <Pine.LNX.4.04.10010031044490.5267-100000@www.linuxhacker.org>

On Tue, 3 Oct 2000 ####@####.#### wrote:
> 2. I need to be able to set a timeout value for the GrGetNextEvent
> function so I can implement the Mozilla timer functionallity. This will
> enable me to do animated images.

Instead of implementing this a server call, probably the easiest way to do
it is to use setitimer() on the client side and set a flag in the alarm
handler which causes the main loop to clear the flag and return a
timeout event instead of simply rescheduling (search for "errno != EINTR"
in nanox/srvmain.c). Alternatively you could play games with the select()
timeout and gettimeofday() to handle the timeout yourself, but I suspect
that would be more difficult.

> PS: I had originally attached a jpg of Mozilla running in Nano-X, but it
> was rejected.

If you want to distribute large files and you don't have any web space of
your own, send them to me in a private mail and I'll put them up on
www.linuxhacker.org rather than bulk mailing them to everyone on the list.

--------------- Linux- the choice of a GNU generation. --------------
: Alex Holden (M1CJD)- Caver, Programmer, Land Rover nut, Radio Ham :
-------------------- http://www.linuxhacker.org/ --------------------


Previous by date: 3 Oct 2000 09:58:12 -0000 MS truetype fonts included with Microwindows, Greg Haerr
Next by date: 3 Oct 2000 09:58:12 -0000 MS-DOS mouse driver not working., Arthur Tetzlaff-Deas
Previous in thread: 3 Oct 2000 09:58:12 -0000 Re: Bug in srvclip2.c, Alan Cox
Next in thread: 3 Oct 2000 09:58:12 -0000 Re: Bug in srvclip2.c, Greg Haerr


Powered by ezmlm-browse 0.20.