Hello
Consider the following program:
#include <FL/Fl.H> #include <FL/Fl_Window.H> #include <FL/Fl_Check_Button.H> int main() { Fl::visible_focus(false); Fl_Window w(400, 300); Fl_Check_Button btn(160, 200, 80, 40, "Hello"); w.end(); w.show(); return Fl::run(); }
Clicking on the check button several times causes the following artifact:
Removing the Fl::visible_focus(false) and just using btn.clear_visible_focus() doesn't produce the same issue.
Fl::visible_focus(false)
btn.clear_visible_focus()
Tested with version 1.4 built from source with CMake on both Windows 10 and Ubuntu 20.04 (WSL).
—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or unsubscribe.