Commit 260fa71d authored by Vlad Zahorodnii's avatar Vlad Zahorodnii

Send done event after the number of rows has been changed

The plasma virtual desktop protocol states the following about
the done event

> This event is sent after all other properties has been sent after
> binding to the desktop manager object and after any other property
> changes done after that.

Thus we have to send that event when the number of rows has been changed.

Reviewers: #kwin, davidedmundson

Reviewed By: #kwin, davidedmundson

Subscribers: kwin

Tags: #kwin

Differential Revision:
parent 7762da76
......@@ -80,7 +80,12 @@ void VirtualDesktopManager::setVirtualDesktopManagement(KWayland::Server::Plasma
connect(this, &VirtualDesktopManager::desktopCreated, m_virtualDesktopManagement, createPlasmaVirtualDesktop);
connect(this, &VirtualDesktopManager::rowsChanged, m_virtualDesktopManagement,
[this](uint rows) {
//handle removed: from VirtualDesktopManager to the wayland interface
connect(this, &VirtualDesktopManager::desktopRemoved, m_virtualDesktopManagement,
[this](VirtualDesktop *desktop) {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment