Don't activate screen edge actions when moving a Client
This only results in problems if e.g. Desktop Grid is activated when trying to quick tile a window. REVIEW: 108940
This commit is contained in:
parent
f0cdfefd1c
commit
05541740ac
1 changed files with 6 additions and 0 deletions
|
@ -169,6 +169,12 @@ void Edge::handle(const QPoint &cursorPos)
|
||||||
switchDesktop(cursorPos);
|
switchDesktop(cursorPos);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (Workspace::self()->getMovingClient()) {
|
||||||
|
// if we are moving a window we don't want to trigger the actions. This just results in
|
||||||
|
// problems, e.g. Desktop Grid activated or screen locker activated which just cannot
|
||||||
|
// work as we hold a grab.
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (handleAction() || handleByCallback()) {
|
if (handleAction() || handleByCallback()) {
|
||||||
pushCursorBack(cursorPos);
|
pushCursorBack(cursorPos);
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue