From 05541740ac1b527bdb229c3bc11a8a8438958d01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Wed, 13 Feb 2013 10:37:10 +0100 Subject: [PATCH] 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 --- screenedge.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/screenedge.cpp b/screenedge.cpp index 3c9218a004..f75f6a6b53 100644 --- a/screenedge.cpp +++ b/screenedge.cpp @@ -169,6 +169,12 @@ void Edge::handle(const QPoint &cursorPos) switchDesktop(cursorPos); 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()) { pushCursorBack(cursorPos); return;