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:
parent
c244ee5e3e
commit
d95b65480f
1 changed files with 0 additions and 10 deletions
10
layers.cpp
10
layers.cpp
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue