summaryrefslogtreecommitdiff
path: root/src/frame.hh
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-12-03 21:46:40 +0000
committerDana Jansens <danakj@orodu.net>2002-12-03 21:46:40 +0000
commit861c829ee14fb28a1ccf03f92982ca046ae51278 (patch)
treebdac6522979e46212ca1408c12d6df61027cb003 /src/frame.hh
parentee896d9d664b6076635da98dced82b8b3258cebe (diff)
make shape work with the titlebar and handle
Diffstat (limited to 'src/frame.hh')
-rw-r--r--src/frame.hh7
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();
};
}