1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-01-12 01:17:55 +03:00

fixed wrong condition.

This commit is contained in:
Johan Smith Agudelo Rodriguez 2016-12-30 14:39:09 -05:00
parent da6c9c5f46
commit d3cec8bd26

View File

@ -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)