Commit 28f98ce3 authored by Marco Martin's avatar Marco Martin

disable show desktop effect when a new window appears

parent baae0fb1
......@@ -81,6 +81,11 @@ void TaskPanel::initWayland()
);
connect(m_windowManagement, &PlasmaWindowManagement::activeWindowChanged, this, &TaskPanel::updateActiveWindow);
updateActiveWindow();
//if a new window is open, show it, not the desktop
connect(m_windowModel, &PlasmaWindowModel::rowsInserted, [this] () {
requestShowingDesktop(false);
});
}
);
registry->setup();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment