On 6 Jul 2007, at 4:16, Jeremy Henty wrote: > That's neat, but your version still shows the puzzling behaviour I > mentioned above: the box gets a LEAVE event whenever the pointer > leaves the *window*, *even* if it never entered the box in the first > place. Surely this can't be the right behaviour?
A thought (probably wrong...) The fltk event handler tries to propagate events to widgets that have said they want them, then any leftovers that nobody claimed get (I think) sort of passed to everybody "just in case"... Well, something like that, anyway... So, what I'm getting at - is it possible that no widget wanted that leave event, so it gets passed to your inner widget (and everything else) as a "leftover"? So maybe if your outer window "ate" that leave event, you inner widget might never get it, or something... _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

