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.
This commit is contained in:
Martin Gräßlin 2015-10-23 12:27:06 +02:00
parent c83f041005
commit 43e4071975
3 changed files with 6 additions and 1 deletions

View file

@ -1129,4 +1129,8 @@ bool AbstractClient::doStartMoveResize()
return true;
}
void AbstractClient::positionGeometryTip()
{
}
}

View file

@ -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;

View file

@ -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();