X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fframe.hh;h=e6236830e62056e494a40822bdc60001458a6543;hb=6bad7e676ad841ffce8e2a05f0d8538f149454ea;hp=a36a6eec531cbe3ea46c318bb5ae67da81ff6590;hpb=8735c12d9633738a5150c451457471d797fa9bf1;p=chaz%2Fopenbox diff --git a/src/frame.hh b/src/frame.hh index a36a6eec..e6236830 100644 --- a/src/frame.hh +++ b/src/frame.hh @@ -67,14 +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 - /*! - @param remap Re-map the client window when we're done reparenting? - */ - void releaseClient(bool remap); - public: //! Constructs an OBFrame object, and reparents the client to itself /*! @@ -98,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