X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fframe.hh;h=a36a6eec531cbe3ea46c318bb5ae67da81ff6590;hb=a93f06f5b3162e59c04074a14bd3702e4bb82133;hp=e7a552375f499de3eb9042989fcfd9a37ff5fc02;hpb=c33ccf60cba94249b4a4d1e1832aa0ea0e28a22c;p=chaz%2Fopenbox diff --git a/src/frame.hh b/src/frame.hh index e7a55237..a36a6eec 100644 --- a/src/frame.hh +++ b/src/frame.hh @@ -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; @@ -75,9 +75,6 @@ private: */ void releaseClient(bool remap); - //! Shape the frame window to the client window - void adjustShape(); - public: //! Constructs an OBFrame object, and reparents the client to itself /*! @@ -105,6 +102,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.