summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2024-02-27 16:20:25 +0100
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2024-02-27 16:20:25 +0100
commitfc46e771cdd5b90d33fc7f895886fc43dea351c7 (patch)
tree966449959d3b12c873fd60d8b34dd640fe54b89a /FL
parent746cbf861a5a441695b2fc653ed8327a9b409035 (diff)
Improve prioritization of event handlers added at open display time
Diffstat (limited to 'FL')
-rw-r--r--FL/Fl.H4
1 files changed, 3 insertions, 1 deletions
diff --git a/FL/Fl.H b/FL/Fl.H
index 95d08c9db..f229e5344 100644
--- a/FL/Fl.H
+++ b/FL/Fl.H
@@ -851,7 +851,9 @@ public:
/** Gets the current Fl::focus() widget. \sa Fl::focus(Fl_Widget*) */
static Fl_Widget* focus() {return focus_;}
static void focus(Fl_Widget*);
- static void add_handler(Fl_Event_Handler h);
+ static void add_handler(Fl_Event_Handler ha);
+ static void add_handler(Fl_Event_Handler ha, Fl_Event_Handler before);
+ static Fl_Event_Handler last_handler();
static void remove_handler(Fl_Event_Handler h);
static void add_system_handler(Fl_System_Handler h, void *data);
static void remove_system_handler(Fl_System_Handler h);