From f11bd1b0cc5973590d1ee547736ac00f50447efa Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Tue, 7 Jan 2003 20:20:14 +0000 Subject: better reparent handling, dont fux with the event stack.. --- src/frame.hh | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'src/frame.hh') 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 -- cgit v1.2.3