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:
parent
da6c9c5f46
commit
d3cec8bd26
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user