Delete unused function

Summary:
The function was introduced in 2d99ef918b.

It's not used anywhere plus we don't need it anymore because
AbstractClient::isActiveFullscreen checks main clients.

Test Plan: Compiles.

Reviewers: #kwin, davidedmundson

Reviewed By: #kwin, davidedmundson

Subscribers: kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D16022
This commit is contained in:
Vlad Zagorodniy 2018-10-07 19:31:33 +03:00
parent c244ee5e3e
commit d95b65480f

View file

@ -809,14 +809,4 @@ bool Client::belongsToDesktop() const
return false; return false;
} }
bool rec_checkTransientOnTop(const QList<AbstractClient*> &transients, const Client *topmost)
{
foreach (const AbstractClient *transient, transients) {
if (transient == topmost || rec_checkTransientOnTop(transient->transients(), topmost)) {
return true;
}
}
return false;
}
} // namespace } // namespace