Move checkUnrestrictedMoveResize() from Client to AbstractClient

This commit is contained in:
Martin Gräßlin 2015-10-16 13:18:59 +02:00
parent c9dbd94812
commit 605acaf60e
3 changed files with 2 additions and 2 deletions

View file

@ -672,6 +672,7 @@ protected:
void setMoveResizePointerMode(Position mode) {
m_moveResize.pointer = mode;
}
void checkUnrestrictedMoveResize();
private:
void handlePaletteChange();

View file

@ -551,7 +551,6 @@ private:
bool startMoveResize();
void finishMoveResize(bool cancel);
void leaveMoveResize();
void checkUnrestrictedMoveResize();
void handleMoveResize(int x, int y, int x_root, int y_root);
void handleMoveResize(const QPoint &local, const QPoint &global);
void startDelayedMoveResize();

View file

@ -2749,7 +2749,7 @@ void Client::leaveMoveResize()
// If e.g. the titlebar is already outside of the workarea, there's no point in performing
// a restricted move resize, because then e.g. resize would also move the window (#74555).
// NOTE: Most of it is duplicated from handleMoveResize().
void Client::checkUnrestrictedMoveResize()
void AbstractClient::checkUnrestrictedMoveResize()
{
if (isUnrestrictedMoveResize())
return;