Greg Ercolano wrote:
> Evan Laforge wrote:
>> Any other input out there?
> 
>       I wanna see your handle() code.

    Actually, looks like there might be something up with
    OSX + svn current with regards to FL_FOCUS.

    I suggest keeping an eye on this bug:
    http://www.fltk.org/str.php?L2594

> So problem 1 was that fltk doesn't know a new window has focus even
> though the OS thinks it does. 

    Yes, I noticed this too noodling around with the above bug's code.

> Problem 2 was that when I click on it, it doesn't receive
> focus from the click. 

    Yes, I also noticed that; I think the issue is when a window
    is first opened, FLTK still thinks focus is with the old window,
    and for whatever reason won't give it to the new window until
    you click back and forth once. Then fltk and the OS get back in sync
    and FL_FOCUS is delivered normally.

    Thanks for all the details -- I'll link the above bug to your analysis.
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to