X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fframe.hh;h=ff6a21ad0becd3ab9db8d8f74fbdc440b6adf4c4;hb=d8de17b58e2fee1414e0970bc372b661abe259a6;hp=74b1ba6488b09244218696e32747594d0fed3d2d;hpb=b86872620805bf5deb14aed27b2748f8c1955460;p=chaz%2Fopenbox 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(); }; }