Send done event after the number of rows has been changed
Summary: 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: https://phabricator.kde.org/D18518
This commit is contained in:
parent
7762da7622
commit
260fa71d5d
1 changed files with 6 additions and 1 deletions
|
@ -80,7 +80,12 @@ void VirtualDesktopManager::setVirtualDesktopManagement(KWayland::Server::Plasma
|
|||
connect(this, &VirtualDesktopManager::desktopCreated, m_virtualDesktopManagement, createPlasmaVirtualDesktop);
|
||||
|
||||
connect(this, &VirtualDesktopManager::rowsChanged, m_virtualDesktopManagement,
|
||||
&PlasmaVirtualDesktopManagementInterface::setRows);
|
||||
[this](uint rows) {
|
||||
m_virtualDesktopManagement->setRows(rows);
|
||||
m_virtualDesktopManagement->sendDone();
|
||||
}
|
||||
);
|
||||
|
||||
//handle removed: from VirtualDesktopManager to the wayland interface
|
||||
connect(this, &VirtualDesktopManager::desktopRemoved, m_virtualDesktopManagement,
|
||||
[this](VirtualDesktop *desktop) {
|
||||
|
|
Loading…
Reference in a new issue