From 8826dca1066361b474139bcc5aeed2e3a5246ed0 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Thu, 5 Jan 2023 13:51:30 +0100 Subject: Add close buttons for individual tabs in Fl_Tabs (#628) Add close buttons for Fl_Tabs Introducing callback reasons FLUID shows all FL_WHEN_... options Adding Fl_Tabs overflow types Improved test/tabs to show new features --- src/Fl_Input.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Fl_Input.cxx') diff --git a/src/Fl_Input.cxx b/src/Fl_Input.cxx index bc94a8897..5edbc37cc 100644 --- a/src/Fl_Input.cxx +++ b/src/Fl_Input.cxx @@ -577,7 +577,7 @@ int Fl_Input::handle(int event) { // For output widgets, do the callback so the app knows the user // did something with the mouse... - if (readonly()) do_callback(); + if (readonly()) do_callback(FL_REASON_RELEASED); return 1; -- cgit v1.2.3