Commit 3399a7db authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

Document AbstractClient::isResize() and AbstractClient::isMove()

parent 34fc962f
......@@ -693,9 +693,15 @@ public:
*/
QRect clientRectToFrameRect(const QRect &rect) const;
/**
* Returns @c true if the Client is being interactively moved; otherwise @c false.
*/
bool isMove() const {
return isMoveResize() && moveResizePointerMode() == PositionCenter;
}
/**
* Returns @c true if the Client is being interactively resized; otherwise @c false.
*/
bool isResize() const {
return isMoveResize() && moveResizePointerMode() != PositionCenter;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment