DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New] Link: http://www.fltk.org/str.php?L2594 Version: 1.3-current I can replicate on snow leopard with svn current. FWIW, I tried your first program, and added the following to the top of the handle() method: fprintf(stderr, "WINDOW %s: EVENT=%s\n", label(), fl_eventnames[event]); (along with the appropriate #include <FL/names.H>) What's interesting is when I hit 's': 1) No focus event is sent to window 2, but the title bar shows the OS thinks it's in focus 2) If I click in window one, no focus event is sent (I think fltk thinks it still has focus) 3) If I then click on window two, a focus event is sent, and things work normally from here; both fltk and OS agree on focus 4) If I click back on window one, a focus event is sent, etc. So it seems like when window2 is opened, fltk doesn't give it focus. Even if I add win2->take_focus() after the win2->show(), it won't take it. It does seem odd. And even if I add 'return 1' for FL_FOCUS and FL_UNFOCUS events, it still behaves the same it seems. Link: http://www.fltk.org/str.php?L2594 Version: 1.3-current _______________________________________________ fltk-bugs mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-bugs
