Hi Albrecht, > as said before, it is not useful to check if an event is inside the > window that got the event, because this is always true (to be precise: > this *may* be false for FL_DRAW, FL_DRAG and maybe DND events, but > this is a special case).
Actually it was this special case I originally stumbled over, when trying to check if a DND event ended within a subwin... > > So, yes, I changed the docs to make it clear that > Fl::event_inside(const Fl_Widget *) must not be called for the > window that handles the event. Thanks for the report. > Thanks for confirming and for the detailed explanations. BTW: I also tried experimentally to change the Fl::event_inside(const char*) method within FLTK to my version, but it seemed not to fix the problem. I guess FLTK's event handling itself relies on how it is currently implemented. Cheers, chris _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

