Commit 605acaf6 authored by Martin Flöser's avatar Martin Flöser

Move checkUnrestrictedMoveResize() from Client to AbstractClient

parent c9dbd948
......@@ -672,6 +672,7 @@ protected:
void setMoveResizePointerMode(Position mode) {
m_moveResize.pointer = mode;
}
void checkUnrestrictedMoveResize();
private:
void handlePaletteChange();
......
......@@ -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();
......
......@@ -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;
......
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