On Fri, Mar 15, 2002 at 02:08:48PM +0000, Tim Phipps wrote: > Hi All, > I tracked down an endless loop with FvwmIconMan caused by > > *FvwmIconMan: *Action Select SendCommand FlipFocus > *FvwmEvent: new_page my_geom_record_all > > my_geom_record_all has a "PipeRead "bash -c ' echo AddToFunc...'" in and > I think fvwm has recently started to grab the pointer with PipeRead. > > The loop starts when you move the pointer to a button in FvwmIconMan. A > FlipFocus is performed which results in an M_NEW_PAGE -> FvwmEvent -> > my_geom_record_all -> PipeRead -> grab -> leave/eneter event to > FvwmIconMan -> FlipFocus. > > I think it's the PipeRead but I'm not sure, anyway a sensible fix is to > not send an M_NEW_PAGE if the page hasn't changed and the attached patch > is very simple. Is there any reason to send M_NEW_PAGE when the page > doesn't change?
Yes. It's necessary to force a M_NEW_PAGE packet when the desk changes but the viewport does not move. Some of the modules need the message in this case. I can't remember which modules. Bye Dominik ^_^ ^_^ -- Dominik Vogt, [EMAIL PROTECTED] Reply-To: [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]