diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-12-03 21:18:53 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-12-03 21:18:53 +0000 |
| commit | d8de17b58e2fee1414e0970bc372b661abe259a6 (patch) | |
| tree | d84aab5afd05027407c6d81ccb0dffc20d322331 /src/frame.hh | |
| parent | b86872620805bf5deb14aed27b2748f8c1955460 (diff) | |
apply gravity when positioning the frame
Diffstat (limited to 'src/frame.hh')
| -rw-r--r-- | src/frame.hh | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/frame.hh b/src/frame.hh index 74b1ba64..ff6a21ad 100644 --- a/src/frame.hh +++ b/src/frame.hh @@ -56,11 +56,6 @@ private: */ OBClient::DecorationFlags _decorations; - //! Creates the base frame window - Window createFrame(); - //! Creates a child frame decoration element window - Window createChild(Window parent, Cursor cursor); - //! Reparents the client window from the root window onto the frame void grabClient(); //! Reparents the client window back to the root window @@ -85,7 +80,11 @@ public: //! Update the frame to match the client void adjust(); //! Shape the frame window to the client window - void adjustShape(); + void adjustShape(); + + //! Applies gravity for the client's gravity, moving the frame to the + //! appropriate place + void applyGravity(); }; } |
