From 732bfd191dbf1f5cf3473a794f9a736dcba6117e Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 18 Dec 2002 16:07:44 +0000 Subject: you can move windows! --- src/client.hh | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'src/client.hh') diff --git a/src/client.hh b/src/client.hh index 39d9ac62..e61ece42 100644 --- a/src/client.hh +++ b/src/client.hh @@ -297,18 +297,6 @@ private: void updateClass(); // XXX: updateTransientFor(); - //! Move the client window - void move(int x, int y); - - //! Resizes the client window, anchoring it in a given corner - /*! - This also maintains things like the client's minsize, and size increments. - @param anchor The corner to keep in the same position when resizing - @param x The X component of the new size for the client - @param y The Y component of the new size for the client - */ - void resize(Corner anchor, int x, int y); - public: //! Constructs a new OBClient object around a specified window id /*! @@ -418,6 +406,18 @@ public: //! Returns the position and size of the client relative to the root window inline const otk::Rect &area() const { return _area; } + //! Move the client window + void move(int x, int y); + + //! Resizes the client window, anchoring it in a given corner + /*! + This also maintains things like the client's minsize, and size increments. + @param anchor The corner to keep in the same position when resizing + @param x The X component of the new size for the client + @param y The Y component of the new size for the client + */ + void resize(Corner anchor, int x, int y); + virtual void propertyHandler(const XPropertyEvent &e); virtual void clientMessageHandler(const XClientMessageEvent &e); virtual void shapeHandler(const XShapeEvent &e); -- cgit v1.2.3