diff --git a/workspace.cpp b/workspace.cpp index 13830b99f1..f92adc2f1a 100644 --- a/workspace.cpp +++ b/workspace.cpp @@ -497,7 +497,7 @@ void Workspace::addClient(Client* c) { Group* grp = findGroup(c->window()); - KWindowInfo info = KWindowSystem::windowInfo(c->window(), -1U, NET::WM2WindowClass); + KWindowInfo info(c->window(), NET::WMAllProperties, NET::WM2WindowClass); emit clientAdded(c);