summaryrefslogtreecommitdiff
path: root/src/client.hh
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-01-30 21:11:04 +0000
committerDana Jansens <danakj@orodu.net>2003-01-30 21:11:04 +0000
commitbb6ac36d410ba62bc8bb481dd6461a30aace42fd (patch)
treeda693a2562ccb3f14671d5ac76a9fbf901a0ba89 /src/client.hh
parent225d4302d0b2bd40d03d3bfa54116c0adfe3143e (diff)
working popups for moving/resizing
Diffstat (limited to 'src/client.hh')
-rw-r--r--src/client.hh9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/client.hh b/src/client.hh
index 2a55d992..e70dc268 100644
--- a/src/client.hh
+++ b/src/client.hh
@@ -569,6 +569,15 @@ BB @param window The window id that the Client class should handle
//! Returns the window's stacking layer
inline StackLayer layer() const { return _layer; }
+ //! Returns the logical size of the window
+ /*!
+ The "logical" size of the window is refers to the user's perception of the
+ size of the window, and is the value that should be displayed to the user.
+ For example, with xterms, this value it the number of characters being
+ displayed in the terminal, instead of the number of pixels.
+ */
+ const otk::Point &logicalSize() const { return _logical_size; }
+
//! Applies the states requested when the window mapped
/*!
This should be called only once, during the window mapping process. It