Port away from KWindowSystem::windowInfo

Just using KWindowInfo ctor. In one case in appmenu two usages of
KWindowInfo are merged into one KWindowInfo. And in KWindowList a
usage of adding the KWindowInfos into a list got removed.
This commit is contained in:
Martin Gräßlin 2014-02-12 18:23:29 +01:00
parent 70fd9d6b58
commit 836bfe11e9

View file

@ -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);