Bjoern Steinbrink <[EMAIL PROTECTED]> writes: > Hello, > > On 2005.02.04 14:38:59 -0800, [EMAIL PROTECTED] 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: [EMAIL PROTECTED] -- Visit the official FVWM web page at <URL:http://www.fvwm.org/>. To unsubscribe from the list, send "unsubscribe fvwm-workers" in the body of a message to [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]