diff --git a/abstract_client.cpp b/abstract_client.cpp index a4eff0a9d9..045b16f2f0 100644 --- a/abstract_client.cpp +++ b/abstract_client.cpp @@ -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());