diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2025-08-04 15:54:14 +0200 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2025-08-04 15:54:14 +0200 |
| commit | 5becf68c18a41247cee27fc1ae08f274f5cc8a4c (patch) | |
| tree | a36466d776f903056ed3b19ca4bc376f3a58389f /FL | |
| parent | 8463ac39ca49e1f3ac135961a8f2f8deee1afb22 (diff) | |
Fix "Callback or event on minimize of the main window " for Wayland (#1288)
Diffstat (limited to 'FL')
| -rw-r--r-- | FL/Enumerations.H | 5 |
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). |
