diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-12-03 21:46:40 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-12-03 21:46:40 +0000 |
| commit | 861c829ee14fb28a1ccf03f92982ca046ae51278 (patch) | |
| tree | bdac6522979e46212ca1408c12d6df61027cb003 /src/frame.hh | |
| parent | ee896d9d664b6076635da98dced82b8b3258cebe (diff) | |
make shape work with the titlebar and handle
Diffstat (limited to 'src/frame.hh')
| -rw-r--r-- | src/frame.hh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/frame.hh b/src/frame.hh index ff6a21ad..7f146a21 100644 --- a/src/frame.hh +++ b/src/frame.hh @@ -37,6 +37,9 @@ private: //! The size of the frame on each side of the client window otk::Strut _size; + //! The size of the frame on each side of the client window inside the border + otk::Strut _innersize; + // decoration windows otk::OtkFocusWidget _plate; // sits entirely under the client window otk::OtkFocusWidget _titlebar; @@ -85,6 +88,10 @@ public: //! Applies gravity for the client's gravity, moving the frame to the //! appropriate place void applyGravity(); + + //! Reversely applies gravity for the client's gravity, moving the frame so + //! that the client is in its pre-gravity position + void restoreGravity(); }; } |
