[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
This commit is contained in:
David Edmundson 2019-01-25 10:33:24 +00:00
parent 433a121838
commit f3c1786a89

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,