From dfe73d8ebc42737d9e8109fc51c59d82c86f0939 Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Sun, 3 Aug 2025 09:47:58 +0200 Subject: Document that the Wayland platform doesn't send FL_HIDE to minimized windows. --- FL/Enumerations.H | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'FL') diff --git a/FL/Enumerations.H b/FL/Enumerations.H index 6674e7463..032717f1b 100644 --- a/FL/Enumerations.H +++ b/FL/Enumerations.H @@ -256,7 +256,9 @@ 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. Fl_Widget::visible() may still be true after this, but the + minimized (under Wayland, minimized toplevel windows don't receive + the FL_HIDE event). + 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