From 0105b593b6f45e5fee45ed5d79460e5e93985702 Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Tue, 23 Dec 2025 12:26:31 +0100 Subject: Fix typos in documentation of FL_APP_ACTIVATE --- FL/Enumerations.H | 2 +- src/Fl.cxx | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/FL/Enumerations.H b/FL/Enumerations.H index 99849329e..0557e6a75 100644 --- a/FL/Enumerations.H +++ b/FL/Enumerations.H @@ -338,7 +338,7 @@ enum Fl_Event { // events receive this event right before the menu appears, providing an opportunity to update menu item states and activation. */ FL_BEFORE_MENU = 29, - /** Sent when the application is activate an becomes topmost and focused. + /** Sent when the application is activated and becomes topmost and focused. Not supported on X11. \see Fl::add_handler() */ FL_APP_ACTIVATE = 30, diff --git a/src/Fl.cxx b/src/Fl.cxx index 8be33c92f..53b393203 100644 --- a/src/Fl.cxx +++ b/src/Fl.cxx @@ -940,6 +940,7 @@ static handler_link *handlers = 0; Under X11, this event requires the libXrandr.so shared library to be loadable at run-time and the X server to implement the RandR extension. - \ref FL_ZOOM_EVENT events. + - \ref FL_APP_ACTIVATE and \ref FL_APP_DEACTIVATE events. - System events that FLTK does not recognize. See fl_xevent. - \e Some other events when the widget FLTK selected returns zero from its handle() method. Exactly which ones may change -- cgit v1.2.3