Recently a line was added to Fl::focus():
#ifdef __APPLE__
if (fl_xfocus != win) Fl_X::i(win)->set_key_window();
#endif
Unfortunately this bus errors for me since Fl_X::i(win) is NULL.
It's all a bunch of single letter undocumented variable names in
there, but I gather this gets the system specific window pointer. I
can't easily tell who is supposed to set it because it's a single
letter variable name, but maybe it has something to do with the window
for the widget not being shown yet when I call focus on it?
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev