nanogui: Thread: refresh problem with XFree4.1.0


[<<] [<] Page 1 of 1 [>] [>>]
Subject: refresh problem with XFree4.1.0
From: Yann Poupet ####@####.####
Date: 25 Sep 2001 13:32:33 -0000
Message-Id: <20010925153438.418027c8.y.poupet@atrid.fr>

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
Subject: Re: [nanogui] refresh problem with XFree4.1.0
From: Jordan Crouse ####@####.####
Date: 25 Sep 2001 13:53:31 -0000
Message-Id: <01092507505600.24755@cosmic>

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: ####@####.####
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
===============================================================================



Subject: Re: [nanogui] refresh problem with XFree4.1.0
From: "Greg Haerr" ####@####.####
Date: 25 Sep 2001 17:49:32 -0000
Message-Id: <00fe01c145e9$fc9675a0$3aba46a6@xmission.com>

: 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

Michael -
    Which demo exactly are you talking about?  I ran bin/mdemo
under X11 and everything seems to work fine.  bin/logfont
and bin/t1demo also seem to run...

Regards,

Greg





:
: 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
:
===============================================================================
:
:
:
:
: ---------------------------------------------------------------------
: To unsubscribe, e-mail: ####@####.####
: For additional commands, e-mail: ####@####.####
:

[<<] [<] Page 1 of 1 [>] [>>]


Powered by ezmlm-browse 0.20.