Commit d95b6548 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii

Delete unused function

Summary:
The function was introduced in 2d99ef91.

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
parent c244ee5e
......@@ -809,14 +809,4 @@ bool Client::belongsToDesktop() const
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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment