mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-29 07:03:08 +00:00
disable show desktop effect when a new window appears
This commit is contained in:
parent
baae0fb1ce
commit
28f98ce3ac
1 changed files with 5 additions and 0 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in a new issue