FLTK logo

[master] 53605ba - Add note about use of Fl_Window::decorated_h() under the X11 platform.

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.commit  ]
 
Previous Message ]Next Message ]

[master] 53605ba - Add note about use of Fl_Window::decorated_h() under the X11 platform. "ManoloFLTK" Feb 07, 2022  
 
commit 53605ba05515d4981f9f6d77fcca317539a36867
Author:     ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
AuthorDate: Mon Feb 7 19:14:09 2022 +0100
Commit:     ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
CommitDate: Mon Feb 7 19:14:09 2022 +0100

    Add note about use of Fl_Window::decorated_h() under the X11 platform.

 FL/Fl_Window.H | 3 +++
 1 file changed, 3 insertions(+)

diff --git FL/Fl_Window.H FL/Fl_Window.H
index 4ce65f3..ddcea3f 100644
--- FL/Fl_Window.H
+++ 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;
 
Direct Link to Message ]
 
     
Previous Message ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.