[wayland] Send VirtualDesktop::done after editing a property

Summary:
The protocol is double buffered, after changing the name done should be
sent so that clients update.

Test Plan:
Changed a VD name on wayland
Pager tooltip updated

Reviewers: #kwin, zzag

Reviewed By: #kwin, zzag

Subscribers: zzag, kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D18513
icc-effect-5.17.5
David Edmundson 2019-01-25 10:33:24 +00:00
parent 433a121838
commit f3c1786a89
1 changed files with 1 additions and 0 deletions

View File

@ -67,6 +67,7 @@ void VirtualDesktopManager::setVirtualDesktopManagement(KWayland::Server::Plasma
connect(desktop, &VirtualDesktop::nameChanged, pvd,
[desktop, pvd] {
pvd->setName(desktop->name());
pvd->sendDone();
}
);
connect(pvd, &PlasmaVirtualDesktopInterface::activateRequested, this,