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