Fl_Widget::clear_visible_focus()
or Fl_Widget::visible_focus(0)
fails because Fl::focus(Fl_Widget*)
tests the Fl_Widget::visible_focus()
attribute. This should not be done since Fl::focus(Fl_Widget*)
should set the focus to the widget unconditionally."--
You received this message because you are subscribed to the Google Groups "fltk.coredev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkcoredev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkcoredev/108e79aa-46aa-f98c-eebd-da9d13e3774c%40online.de.
Make sure nothing calling it is relying on that test failing (for instance maybe that is how navigation skips the widgets).
I agree it should be unconditional and any such tests moved to the calling code.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkcoredev/CAL-8oAi2WjCapszXWJHqM_5gDP4vHTf5509m%2BX0Fskm5R4dEEg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkcoredev/c3a17afb-2b50-9990-86ff-b094113d2fab%40online.de.