On Oct 8, 2007, at 11:21 AM, Greg Ercolano wrote: > It /seems/ like the release of the right button that causes the > FL_RELEASE > cancels the stream of FL_DRAG events that /should/ still be > delivered because the left button (which initiated the drag) > is still being held down. > > At first I thought maybe your handle() code needs to be careful > to return 0 for the FL_RELEASE for the right mouse event, > but that didn't seem to solve it. (I expected it would). > > Maybe Matthias can answer this one. > Might be a bug.
Yes Greg, I am pretty sure that you are right. This is a bug since mouse movement should always be a DRAG event as long as a mouse button is held down. I have no machine right now to test this, but the workaround may be to check for FL_MOVE as well and see if the modifier flags still indicate a mouse button as pressed. ---- http://robowerk.com/ _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

