don't activate clients (autohide) if we're dragging a window
BUG: 352267 REVIEW: 125867
This commit is contained in:
parent
b2755bcaa7
commit
cd9f43af7d
1 changed files with 8 additions and 6 deletions
|
@ -186,12 +186,6 @@ bool Edge::canActivate(const QPoint &cursorPos, const QDateTime &triggerTime)
|
|||
|
||||
void Edge::handle(const QPoint &cursorPos)
|
||||
{
|
||||
if (m_client) {
|
||||
pushCursorBack(cursorPos);
|
||||
m_client->showOnScreenEdge();
|
||||
unreserve();
|
||||
return;
|
||||
}
|
||||
AbstractClient *movingClient = Workspace::self()->getMovingClient();
|
||||
bool isResize = false;
|
||||
if (Client *movingClientClient = qobject_cast<Client*>(movingClient))
|
||||
|
@ -210,6 +204,14 @@ void Edge::handle(const QPoint &cursorPos)
|
|||
// work as we hold a grab.
|
||||
return;
|
||||
}
|
||||
|
||||
if (m_client) {
|
||||
pushCursorBack(cursorPos);
|
||||
m_client->showOnScreenEdge();
|
||||
unreserve();
|
||||
return;
|
||||
}
|
||||
|
||||
if (handleAction() || handleByCallback()) {
|
||||
pushCursorBack(cursorPos);
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue