From 7112755cfcda17e2c17360caf28407485e5befc0 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Tue, 11 Feb 2003 20:20:01 +0000 Subject: [PATCH] add a comment regarding the client.area() being not-what-you-want --- src/client.hh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/client.hh b/src/client.hh index ff119faf..8bbe2a91 100644 --- a/src/client.hh +++ b/src/client.hh @@ -622,6 +622,11 @@ BB @param window The window id that the Client class should handle const otk::Size &logicalSize() const { return _logical_size; } //! Returns the position and size of the client relative to the root window + /*! + Note that this value is *not* the size and position of the window's + frame, though the position will often line up.
+ If you want the frame's area, use Frame::area() instead. + */ inline const otk::Rect &area() const { return _area; } //! Returns the client's strut definition -- 2.39.2