summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2025-08-04 15:54:14 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2025-08-04 15:54:14 +0200
commit5becf68c18a41247cee27fc1ae08f274f5cc8a4c (patch)
treea36466d776f903056ed3b19ca4bc376f3a58389f /FL
parent8463ac39ca49e1f3ac135961a8f2f8deee1afb22 (diff)
Fix "Callback or event on minimize of the main window " for Wayland (#1288)
Diffstat (limited to 'FL')
-rw-r--r--FL/Enumerations.H5
1 files changed, 2 insertions, 3 deletions
diff --git a/FL/Enumerations.H b/FL/Enumerations.H
index 5a39c2a92..404a3d91e 100644
--- a/FL/Enumerations.H
+++ b/FL/Enumerations.H
@@ -256,9 +256,8 @@ enum Fl_Event { // events
/** This widget is no longer visible, due to Fl_Widget::hide() being
called on it or one of its parents, or due to a parent window being
- minimized (under Wayland, minimized toplevel windows don't receive
- the FL_HIDE event, except if minimized programmatically calling
- Fl_Window::iconize()).
+ minimized (old Wayland versions may not send the FL_HIDE
+ event to minimized toplevel windows).
Fl_Widget::visible() may still be true after this, but the
widget is visible only if visible() is true for it and all its
parents (use Fl_Widget::visible_r() to check this).