summaryrefslogtreecommitdiff
path: root/FL/Fl_Window.H
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2022-02-07 19:14:09 +0100
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2022-02-07 19:14:09 +0100
commit53605ba05515d4981f9f6d77fcca317539a36867 (patch)
tree6e7f9962ed44d8ba22b50bac41e5ec24713aeb38 /FL/Fl_Window.H
parentdb0a1f4baeb928b54d328d5dfbd0ec37b0b58bd3 (diff)
Add note about use of Fl_Window::decorated_h() under the X11 platform.
Diffstat (limited to 'FL/Fl_Window.H')
-rw-r--r--FL/Fl_Window.H3
1 files changed, 3 insertions, 0 deletions
diff --git a/FL/Fl_Window.H b/FL/Fl_Window.H
index 4ce65f3bc..ddcea3fbe 100644
--- a/FL/Fl_Window.H
+++ b/FL/Fl_Window.H
@@ -519,6 +519,9 @@ public:
added by the window manager.
Same as h() if applied to a subwindow, or if window is not yet mapped.
+ \note Under X11, it's not possible to compute decorated_h() - h()
+ to obtain the height of the titlebar <b> during a resize operation</b>.
+ That computation is to best done when the window is first mapped.
*/
int decorated_h() const;