X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2Fframe.hh;h=e6236830e62056e494a40822bdc60001458a6543;hb=f11bd1b0cc5973590d1ee547736ac00f50447efa;hp=b204567ed75fcadbccfc2090b9455f554ec4a926;hpb=2ae5aaca65b4d9c9747fe787c920a547e7ec13c0;p=chaz%2Fopenbox diff --git a/src/frame.hh b/src/frame.hh index b204567e..e6236830 100644 --- a/src/frame.hh +++ b/src/frame.hh @@ -67,11 +67,6 @@ private: */ OBClient::DecorationFlags _decorations; - //! Reparents the client window from the root window onto the frame - void grabClient(); - //! Reparents the client window back to the root window - void releaseClient(); - public: //! Constructs an OBFrame object, and reparents the client to itself /*! @@ -95,6 +90,14 @@ public: void setTitle(const std::string &text); + //! Reparents the client window from the root window onto the frame + void grabClient(); + //! Reparents the client window back to the root window + /*! + This is not to be called if the client has already reparented itself. + */ + void releaseClient(); + //! Update the frame's size to match the client void adjustSize(); //! Update the frame's position to match the client