1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-01-11 13:18:13 +03:00

fix #415,disable ByPass flag by default

This commit is contained in:
Michail Vourlakos 2017-04-22 12:37:11 +03:00
parent 7d635c5073
commit 26d5ba4a64
2 changed files with 3 additions and 3 deletions

View File

@ -849,12 +849,12 @@ void DockCorona::addDock(Plasma::Containment *containment)
//! of the window... This of course is also used during
//! recreations of the window between different visibility modes
auto mode = static_cast<Dock::Visibility>(containment->config().readEntry("visibility", static_cast<int>(Dock::DodgeActive)));
bool dockWin{false};
bool dockWin{true};
if (mode == Dock::AlwaysVisible || mode == Dock::WindowsGoBelow) {
dockWin = true;
} else {
dockWin = containment->config().readEntry("dockWindowBehavior", false);
dockWin = containment->config().readEntry("dockWindowBehavior", true);
}
auto dockView = new DockView(this, nextScreen, dockWin);

View File

@ -1593,7 +1593,7 @@ void DockView::restoreConfig()
auto config = this->containment()->config();
setOnPrimary(config.readEntry("onPrimary", true));
setSession((Dock::SessionType)config.readEntry("session", (int)Dock::DefaultSession));
setDockWinBehavior(config.readEntry("dockWindowBehavior", false));
setDockWinBehavior(config.readEntry("dockWindowBehavior", true));
}
//!END configuration functions