Move checkUnrestrictedMoveResize() from Client to AbstractClient
This commit is contained in:
parent
c9dbd94812
commit
605acaf60e
3 changed files with 2 additions and 2 deletions
|
@ -672,6 +672,7 @@ protected:
|
|||
void setMoveResizePointerMode(Position mode) {
|
||||
m_moveResize.pointer = mode;
|
||||
}
|
||||
void checkUnrestrictedMoveResize();
|
||||
|
||||
private:
|
||||
void handlePaletteChange();
|
||||
|
|
1
client.h
1
client.h
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue