Set rows in virtualdesktop protocol

Summary: Uses D17691 and sets the info on the protocol

Test Plan: correct data sent

Reviewers: #plasma, #kwin, zzag

Reviewed By: #plasma, #kwin, zzag

Subscribers: zzag, graesslin, kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D18293
icc-effect-5.17.5
Marco Martin 2019-01-22 10:28:50 +01:00
parent 7ddd5afe64
commit 94e09947f2
1 changed files with 2 additions and 0 deletions

View File

@ -78,6 +78,8 @@ void VirtualDesktopManager::setVirtualDesktopManagement(KWayland::Server::Plasma
connect(this, &VirtualDesktopManager::desktopCreated, m_virtualDesktopManagement, createPlasmaVirtualDesktop);
connect(this, &VirtualDesktopManager::rowsChanged, m_virtualDesktopManagement,
&PlasmaVirtualDesktopManagementInterface::setRows);
//handle removed: from VirtualDesktopManager to the wayland interface
connect(this, &VirtualDesktopManager::desktopRemoved, m_virtualDesktopManagement,
[this](VirtualDesktop *desktop) {