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 believe the problem in your first test program can be solved
by adding
Fl::focus(w);
in the Fl_X::make() function that creates a window.
I will commit that after some further tests.

However, in your second program, win->take_focus() does not set
the focus to the large window because FL_FOCUS returns 0 for this
window. I see this on Mac OS, but also on MSWindows and X11.
Thus the small window is closed because it's the focus window,
even though the program has intended to give the focus to the
large window.

Thus, I believe your second program reveals a problem in the
take_focus() Fl_Widget member function that's not Cocoa-specific
nor Mac-specific.


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

Reply via email to