From d3cec8bd26e2585f43af92411194fbdce8018188 Mon Sep 17 00:00:00 2001 From: Johan Smith Agudelo Rodriguez Date: Fri, 30 Dec 2016 14:39:09 -0500 Subject: [PATCH] fixed wrong condition. --- app/visibilitymanager.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/visibilitymanager.cpp b/app/visibilitymanager.cpp index aa25c7de7..dec9451b5 100644 --- a/app/visibilitymanager.cpp +++ b/app/visibilitymanager.cpp @@ -165,8 +165,6 @@ inline void VisibilityManagerPrivate::setDockRect(const QRect &dockRect) if (mode == Dock::AlwaysVisible) { wm->setDockStruts(this->dockRect, view->containment()->location()); } - - raiseDock(raise); } void VisibilityManagerPrivate::dodgeActive(WId wid) @@ -192,7 +190,7 @@ void VisibilityManagerPrivate::dodgeMaximized(WId wid) if (!winfo.isValid() || !winfo.isOnCurrentDesktop() || winfo.isMinimized()) return; - raiseDock(winfo.isMaximized()); + raiseDock(!winfo.isMaximized()); } void VisibilityManagerPrivate::dodgeWindows(WId wid)