]> Dogcows Code - chaz/openbox/blobdiff - src/frame.hh
handle unmaps better. all thanks to acroread sending wacky unmap events
[chaz/openbox] / src / frame.hh
index e7a552375f499de3eb9042989fcfd9a37ff5fc02..b204567ed75fcadbccfc2090b9455f554ec4a926 100644 (file)
@@ -34,7 +34,7 @@ public:
 
   //! The event mask to grab on frame windows
   static const long event_mask = EnterWindowMask | LeaveWindowMask;
-
+   
 private:
   OBClient *_client;
   const otk::ScreenInfo *_screen;
@@ -70,13 +70,7 @@ private:
   //! 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();
+  void releaseClient();
 
 public:
   //! Constructs an OBFrame object, and reparents the client to itself
@@ -105,6 +99,8 @@ public:
   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.
This page took 0.020413 seconds and 4 git commands to generate.