On Mon, Jun 03, 2002 at 07:01:21PM +0200, Dominik Vogt wrote: > On Fri, May 31, 2002 at 09:03:41PM -0500, Dave Trollope wrote: > > Hi Dominik, > > > > My original email said "between 1.4.5 and now an if was changed in..." > > which did as you > > assumed correctly mean 2.4.5 and now. I mean it worked ok in 2.4.5 but > > didn't work now. > > Ah, I see. > > > I intend to start looking at the processing of the NotifyMotion events > > because I think > > we can find some inprovement in handling that event since it is received by > > apps > > registered for it much more than any event. I noticed that it is in the > > main switch for > > FvwmIconMan. I'm trying to measure right now the gain by having an if trap > > this event > > prior to entering the switch(). switch() is slower when 1 case is called > > significantly > > more times than any other case. What do you think? > > (You should rather create a new mail thread for new topics - I > almost overlooked this one.) > > I've never compared switch and if, so I don't know if it makes any > noticable difference. But anyway, FvwmIconMan only requests > Motion Notify events when a button is held down. This only occurs > if the user presses a button inside FvwmIconMan and then drags the > mouse. Since FvwmIconMan is the active application at that > moment, it's not *that* bad.
I have to take that back. Actually, FvwmIconMan requests all motion events to be reported, not just when a button is pressed. I looked in the wrong place. 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]