diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-12-18 16:07:44 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-12-18 16:07:44 +0000 |
| commit | 732bfd191dbf1f5cf3473a794f9a736dcba6117e (patch) | |
| tree | b59f4adfe447b2c3eb5d399b66efc0f211bab76f /src/client.hh | |
| parent | f4e2fc32743309dae8663f9e47a4e2f4d941d1b5 (diff) | |
you can move windows!
Diffstat (limited to 'src/client.hh')
| -rw-r--r-- | src/client.hh | 24 |
1 files changed, 12 insertions, 12 deletions
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); |
