take the name of the VirtualDesktop instance
the name of the PlasmaVirtualDesktopInterface must be taken from the VirtualDesktop instance, not from itself BUG:403145
This commit is contained in:
parent
23dc03f734
commit
f95a9618a7
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ void VirtualDesktopManager::setVirtualDesktopManagement(KWayland::Server::Plasma
|
||||||
VirtualDesktop *internalDesktop = desktopForX11Id(i);
|
VirtualDesktop *internalDesktop = desktopForX11Id(i);
|
||||||
PlasmaVirtualDesktopInterface *desktop = m_virtualDesktopManagement->createDesktop(internalDesktop->id());
|
PlasmaVirtualDesktopInterface *desktop = m_virtualDesktopManagement->createDesktop(internalDesktop->id());
|
||||||
|
|
||||||
desktop->setName(desktop->name());
|
desktop->setName(internalDesktop->name());
|
||||||
desktop->sendDone();
|
desktop->sendDone();
|
||||||
|
|
||||||
connect(desktop, &PlasmaVirtualDesktopInterface::activateRequested, this,
|
connect(desktop, &PlasmaVirtualDesktopInterface::activateRequested, this,
|
||||||
|
|
Loading…
Reference in a new issue