disable show desktop effect when a new window appears

This commit is contained in:
Marco Martin 2015-09-16 13:35:31 +02:00
parent baae0fb1ce
commit 28f98ce3ac

View file

@ -81,6 +81,11 @@ void TaskPanel::initWayland()
); );
connect(m_windowManagement, &PlasmaWindowManagement::activeWindowChanged, this, &TaskPanel::updateActiveWindow); connect(m_windowManagement, &PlasmaWindowManagement::activeWindowChanged, this, &TaskPanel::updateActiveWindow);
updateActiveWindow(); updateActiveWindow();
//if a new window is open, show it, not the desktop
connect(m_windowModel, &PlasmaWindowModel::rowsInserted, [this] () {
requestShowingDesktop(false);
});
} }
); );
registry->setup(); registry->setup();