nanogui: refresh problem with XFree4.1.0


Previous by date: 25 Sep 2001 14:18:41 -0000 Re: refresh problem with XFree4.1.0, Jordan Crouse
Next by date: 25 Sep 2001 14:18:41 -0000 Re: refresh problem with XFree4.1.0, Greg Haerr
Previous in thread: 25 Sep 2001 14:18:41 -0000 Re: refresh problem with XFree4.1.0, Jordan Crouse
Next in thread: 25 Sep 2001 14:18:41 -0000 Re: refresh problem with XFree4.1.0, Greg Haerr

Subject: Re: [nanogui] refresh problem with XFree4.1.0
From: "Michael L. Drew" ####@####.####
Date: 25 Sep 2001 14:18:41 -0000
Message-Id: <3BB09250.E7167611@drewtech.com>

Yann,
I don't know if this is causing your problem or not...

I may be totally off base here....

I have noticed some odd behavior as well.
Running the  microwindows demos on  XFree under Linux.
The best way I can describe is to say that the system
seems to be frozen until you move the mouse.

I traced this down to the select call in nanox/srvmain.c

at or about line 403 GdGetNextTimeout is called to see if there is a
timer running. If there is no timer running  "to" is set to NULL.

This causes the call to select to block indefinitely.

If you replace the "to = NULL" with something like:
{
    to = &tout;
    to->tv_sec = 0;
    to->tv_usec = 1000;
}

You get a much happier demo.

Jordan Crouse wrote:

> In your config file, set USE_EXPOSURE to Y
>
> On Tuesday 25 September 2001 07:34, Yann Poupet mentioned:
> > hello
> >
> > I have refresh problems using microwindows on XFree 4.1.0
> > When another windows comes on microwindows' window, it's not automaticaly
> > refreshed. Why?
> >
> > It works fine on XFree 3.3.6 but not on 4.1.0. I've seen something about
> > USE_EXPOSE in changelog, but haven't found any more about it.
> >
> >
> > Thanks for your answer.
> >
> >
> >
> > Yann Poupet
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: ####@####.####
> > For additional commands, e-mail: ####@####.####
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ####@####.####
> For additional commands, e-mail: ####@####.####

--

===============================================================================

Michael L. Drew
Drew Technologies, Inc.
41 Enterprise Drive
Ann Arbor, MI 48103
Phone: (734) 623-8080
Fax: (734) 623-8082
===============================================================================




Previous by date: 25 Sep 2001 14:18:41 -0000 Re: refresh problem with XFree4.1.0, Jordan Crouse
Next by date: 25 Sep 2001 14:18:41 -0000 Re: refresh problem with XFree4.1.0, Greg Haerr
Previous in thread: 25 Sep 2001 14:18:41 -0000 Re: refresh problem with XFree4.1.0, Jordan Crouse
Next in thread: 25 Sep 2001 14:18:41 -0000 Re: refresh problem with XFree4.1.0, Greg Haerr


Powered by ezmlm-browse 0.20.