summaryrefslogtreecommitdiff
path: root/src/frame.hh
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-01-07 20:20:14 +0000
committerDana Jansens <danakj@orodu.net>2003-01-07 20:20:14 +0000
commitf11bd1b0cc5973590d1ee547736ac00f50447efa (patch)
treeea716d2589aba0573c9d10756bd5c75ec02c3c73 /src/frame.hh
parent2ae5aaca65b4d9c9747fe787c920a547e7ec13c0 (diff)
better reparent handling, dont fux with the event stack..
Diffstat (limited to 'src/frame.hh')
-rw-r--r--src/frame.hh13
1 files changed, 8 insertions, 5 deletions
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