]> Dogcows Code - chaz/openbox/blobdiff - src/frame.hh
better reparent handling, dont fux with the event stack..
[chaz/openbox] / src / frame.hh
index b204567ed75fcadbccfc2090b9455f554ec4a926..e6236830e62056e494a40822bdc60001458a6543 100644 (file)
@@ -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
This page took 0.024354 seconds and 4 git commands to generate.