From: Frans van Hoesel (F.H.J.van.Hoesel++at++chem.rug.nl)
Date: 02/27/2002 02:48:56
hi,
Due to lack of documentation, I'm painfully digging through the
performer libraries source code in order to get some models to
move with the mouse.
I was already wondering why my routine got called with button release,
when I expect it to be responding to button press only.
It turn out there is a bug in libpfutil.
in the file input.c routine pfuCollectXEventStream
there is a big switch for all kind of inout events.
One is for case ButtonRelease. However part of that bloack of code is:
if ((handlerMask & ButtonPressMask) && handlerFunc)
{
callUserHandler((unsigned long) dsp, (void*) &event);
}
Surely that should be ButtonReleaseMask in the test.
-frans
_______________________________________________________________
"Hi, my name is Frans, I'm your crazy scientist for today."
Frans van Hoesel hoesel++at++chem.rug.nl
http://hpcv100.rc.rug.nl/~hoesel
_______________________________________________________________
This archive was generated by hypermail 2b29 : Wed Feb 27 2002 - 08:24:49 PST