On Wed, Mar 23, 2011 at 10:13 AM, Greg Ercolano <[email protected]> wrote: > Greg Ercolano wrote: >> Evan Laforge wrote: >>> Any other input out there? >> >> I wanna see your handle() code.
Indeed, the first thing I did was as you suggest, and replace the handle with a printf and "return Fl_Window::handle(evt)". However, when I try to repro with the simplest possible version, I can see the "no initial focus" problem, but not the "ignores Fl::focus()" problem. That makes some sense because the real question about the latter is why Fl::focus() is called with a window, which it's evidently not expecting. So I'll poke around with that some. > 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 Indeed. If we can agree that Fl::focus(window) should set focus to the window, then I can attach a simple patch to fix that. I'll find out why it's getting called with the window, but in any case I think it should work when given one. For problem #1, if Manolo says his patch (send FL_FOCUS after FL_SHOW) is fixing it, then I'd like to give his patch a try. Like I said, it didn't work for me but I didn't investigate further so I could have been making a dumb mistake. _______________________________________________ fltk-dev mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-dev
