]> Dogcows Code - chaz/openbox/blobdiff - src/frame.hh
apply gravity when positioning the frame
[chaz/openbox] / src / frame.hh
index 9e3f3822b93f172874e73e8d09a4e0de517a45ba..ff6a21ad0becd3ab9db8d8f74fbdc440b6adf4c4 100644 (file)
@@ -38,6 +38,7 @@ private:
   otk::Strut _size;
 
   // decoration windows
+  otk::OtkFocusWidget _plate;   // sits entirely under the client window
   otk::OtkFocusWidget _titlebar;
   otk::OtkButton      _button_close;
   otk::OtkButton      _button_iconify;
@@ -55,11 +56,6 @@ private:
   */
   OBClient::DecorationFlags _decorations;
 
-  //! Creates the base frame window
-  Window createFrame();
-  //! Creates a child frame decoration element window
-  Window createChild(Window parent, Cursor cursor);
-
   //! Reparents the client window from the root window onto the frame
   void grabClient();
   //! Reparents the client window back to the root window
@@ -84,7 +80,11 @@ public:
   //! Update the frame to match the client
   void adjust();
   //! Shape the frame window to the client window
-  void adjustShape(); 
+  void adjustShape();
+
+  //! Applies gravity for the client's gravity, moving the frame to the
+  //! appropriate place
+  void applyGravity();
 };
 
 }
This page took 0.020295 seconds and 4 git commands to generate.