Re: FVWM: PeriodicTasks bug?

From: Dan Espen <dane_at_mk.telcordia.com>
Date: Sat, 05 Feb 2005 11:41:12 -0500

Bjoern Steinbrink <B.Steinbrink_at_gmx.de> writes:
> Hello,
>
> On 2005.02.04 14:38:59 -0800, fvwm.org_at_rainstick.net wrote:
> > While I was playing around with some ideas for FvwmScript, I noticed an
> > odd behavior that I was unable to explain by reading the man pages. I
> > suspect its a bug tickled by improper usage, but I'll leave that up to
> > you folks to decide. I've written and attached a small test script that
> > shows the problem.
> >
> > Basically by my understanding, the attached script should advance the
> > red background one button every 5 seconds. However what actually happens
> > is that for one second out of 5 the red background cycles as fast as my
> > machine can make it go.
> >
> > If I add a "Title" line to each widget, the script works predictably and
> > only advances once every 5 seconds. Seems like the interpreter doesn't
> > like empty buttons too well.
>
> FvwmScript contains a bug that executes the periodic tasks too often
> when there are pending events. The following patch fixes this.
...
> > P.S.: There is a typo in the man page for FvwmScript where
> > "PeriodicTasks" is spelled "Periodic Task" in the example.

The patch has been applied and the man page corrected.

Thanks.
-- 
Dan Espen                           E-mail: dane_at_mk.telcordia.com
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Sat Feb 05 2005 - 10:43:17 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:57 BST