diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-01-04 08:02:08 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-01-04 08:02:08 +0000 |
| commit | 7bae794382c7a64a6427b16d1339b98120a5166f (patch) | |
| tree | fa57c08904038332abaff66eab0ad5e3651dd306 /src/client.hh | |
| parent | 58cd3958a331e55699b3c1f640c0d2da907cdf22 (diff) | |
support net_wm_strut's! nothing to do with them yet however
Diffstat (limited to 'src/client.hh')
| -rw-r--r-- | src/client.hh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/client.hh b/src/client.hh index 80c6e4ee..f782a355 100644 --- a/src/client.hh +++ b/src/client.hh @@ -183,6 +183,13 @@ private: */ otk::Rect _area; + //! The window's strut + /*! + The strut defines areas of the screen that are marked off-bounds for window + placement. In theory, where this window exists. + */ + otk::Strut _strut; + //! The logical size of the window /*! The "logical" size of the window is refers to the user's perception of the @@ -319,6 +326,8 @@ private: //! Updates the window's application name and class void updateClass(); // XXX: updateTransientFor(); + //! Updates the strut for the client + void updateStrut(); //! Change the client's state hints to match the class' data void changeState(); @@ -425,6 +434,9 @@ public: //! Returns the position and size of the client relative to the root window inline const otk::Rect &area() const { return _area; } + //! Returns the client's strut definition + inline const otk::Strut &strut() const { return _strut; } + //! Move the client window void move(int x, int y); |
