X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fframe.hh;h=01f706de8b5850255e33b3955e511e693a091069;hb=346151534bc630b6458a6d5059255759c028fcb2;hp=44153d4694cd2c211291d7489b9768a87367c5f8;hpb=bf404e092be46801b1a78f9a71e10d0d00b75894;p=chaz%2Fopenbox diff --git a/src/frame.hh b/src/frame.hh index 44153d46..01f706de 100644 --- a/src/frame.hh +++ b/src/frame.hh @@ -67,17 +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); - - //! Shape the frame window to the client window - void adjustShape(); - public: //! Constructs an OBFrame object, and reparents the client to itself /*! @@ -101,10 +90,17 @@ 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 + void releaseClient(); + //! Update the frame's size to match the client void adjustSize(); //! Update the frame's position to match the client void adjustPosition(); + //! Shape the frame window to the client window + void adjustShape(); //! Applies gravity to the client's position to find where the frame should //! be positioned.