summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2025-12-23 12:26:31 +0100
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2025-12-23 12:26:31 +0100
commit0105b593b6f45e5fee45ed5d79460e5e93985702 (patch)
tree82753fac1fefca52d544f730d54b234beb4b27d8
parent33199dab785daaa7c6c5733021ad0cab48e0e1dd (diff)
Fix typos in documentation of FL_APP_ACTIVATE
-rw-r--r--FL/Enumerations.H2
-rw-r--r--src/Fl.cxx1
2 files changed, 2 insertions, 1 deletions
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