X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fframe.hh;h=ff6a21ad0becd3ab9db8d8f74fbdc440b6adf4c4;hb=d8de17b58e2fee1414e0970bc372b661abe259a6;hp=9e3f3822b93f172874e73e8d09a4e0de517a45ba;hpb=fb3848450e649a05c0bed84a02bc9ab4e563b5d9;p=chaz%2Fopenbox diff --git a/src/frame.hh b/src/frame.hh index 9e3f3822..ff6a21ad 100644 --- a/src/frame.hh +++ b/src/frame.hh @@ -38,6 +38,7 @@ private: otk::Strut _size; // decoration windows + otk::OtkFocusWidget _plate; // sits entirely under the client window otk::OtkFocusWidget _titlebar; otk::OtkButton _button_close; otk::OtkButton _button_iconify; @@ -55,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 @@ -84,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(); }; }