From 861c829ee14fb28a1ccf03f92982ca046ae51278 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Tue, 3 Dec 2002 21:46:40 +0000 Subject: make shape work with the titlebar and handle --- src/frame.hh | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/frame.hh') 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(); }; } -- cgit v1.2.3