From 5becf68c18a41247cee27fc1ae08f274f5cc8a4c Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Mon, 4 Aug 2025 15:54:14 +0200 Subject: Fix "Callback or event on minimize of the main window " for Wayland (#1288) --- FL/Enumerations.H | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'FL') 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). -- cgit v1.2.3