Adapt to changes in the PlasmaWindowManagement interface

This commit is contained in:
Aleix Pol 2020-07-22 19:11:47 +02:00
parent 29a2b2a355
commit 4c267c261e

View file

@ -1457,7 +1457,7 @@ void AbstractClient::setupWindowManagementInterface()
return;
}
using namespace KWaylandServer;
auto w = waylandServer()->windowManagement()->createWindow(waylandServer()->windowManagement());
auto w = waylandServer()->windowManagement()->createWindow(waylandServer()->windowManagement(), internalId());
w->setTitle(caption());
w->setVirtualDesktop(isOnAllDesktops() ? 0 : desktop() - 1);
w->setActive(isActive());