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:
parent
7d635c5073
commit
26d5ba4a64
@ -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);
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user