On Tue, Aug 09, 2005 at 11:34:05AM +0200, Viktor Griph wrote: > On Tue, 9 Aug 2005, Viktor Griph wrote: > >I've run into an event race when having the following configuration: > > > >>DestroyFunc LowerPager > >>AddToFunc LowerPager > >>+ I PointerWindow (FvwmPager) Break > >>+ I All (FvwmPager) Lower > >> > >>EdgeCommand North All (FvwmPager) Raise > >>EdgeCommand West All (FvwmPager) Raise > >>EdgeLeaveCommand North Function LowerPager > >>EdgeLeaveCommand West Function LowerPager > > > >The problem is when moving from the north pan frame to the west. While > >being at the upper left corner the pager will keep raising and lowering > >all the time. This is due to the pan frame being raised under the pointer, > >thus creating new EnterNotify and LeaveNotify events. > > > >/Viktor > > > > I've found that throwing away LeaveNotify events with a matching > EnterNotify (just as EnterNotify does with LeaveNotify) solves the > problem. I don't know if that would break anything else thou.
Ah, I don't want to touch the EnterNotify/LeaveNotify code. It's so touchy! But in this specific case, the problem is caused by the pan frames being raised over each other multiple times, constantly triggering events. I have committed a fix to CVS. Ciao Dominik ^_^ ^_^ -- Dominik Vogt, [EMAIL PROTECTED]
signature.asc
Description: Digital signature