Set desktop name "atomically" when using the plasma virtual desktop protocol
Reviewers: #kwin, davidedmundson Reviewed By: #kwin, davidedmundson Subscribers: kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D18373
This commit is contained in:
parent
bae21154ea
commit
47e9e52df3
1 changed files with 1 additions and 4 deletions
|
@ -88,10 +88,7 @@ void VirtualDesktopManager::setVirtualDesktopManagement(KWayland::Server::Plasma
|
|||
//create a new desktop when the client asks to
|
||||
connect (m_virtualDesktopManagement, &PlasmaVirtualDesktopManagementInterface::desktopCreateRequested, this,
|
||||
[this](const QString &name, quint32 position) {
|
||||
VirtualDesktop *vd = createVirtualDesktop(position);
|
||||
if (vd) {
|
||||
vd->setName(name);
|
||||
}
|
||||
createVirtualDesktop(position, name);
|
||||
}
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in a new issue