- void update(const XPropertyEvent &e);
- void update(const XClientMessageEvent &e);
-
- void setArea(const otk::Rect &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);
+ virtual void configureRequestHandler(const XConfigureRequestEvent &e);
+ virtual void unmapHandler(const XUnmapEvent &e);
+ virtual void destroyHandler(const XDestroyWindowEvent &e);