Commit 43e40719 authored by Martin Flöser's avatar Martin Flöser

Provide positionGeometryTip() as virtual method in AbstractClient

The implementation of positionGeometryTip is X specific, we need to
figure out whether that one makes sense for Wayland. Given that, let's
have it virtual to ease the transition of code which calls it.
parent c83f0410
......@@ -1129,4 +1129,8 @@ bool AbstractClient::doStartMoveResize()
return true;
}
void AbstractClient::positionGeometryTip()
{
}
}
......@@ -716,6 +716,7 @@ protected:
* ensures that the internal mode is properly ended.
**/
virtual void leaveMoveResize();
virtual void positionGeometryTip();
static bool haveResizeEffect() {
return s_haveResizeEffect;
......
......@@ -547,7 +547,7 @@ private:
void leaveMoveResize() override;
void handleMoveResize(int x, int y, int x_root, int y_root);
void handleMoveResize(const QPoint &local, const QPoint &global);
void positionGeometryTip();
void positionGeometryTip() override;
void grabButton(int mod);
void ungrabButton(int mod);
void resizeDecoration();
......
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