aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVlad Zagorodniy <[email protected]>2018-10-07 19:31:33 +0300
committerVlad Zagorodniy <[email protected]>2018-10-07 19:51:06 +0300
commitd95b65480f1db5fc38ff2d3c4d21630e92c5a29b (patch)
tree1b4e274368b1a6c32e1626527f5de4ca84f6ecf2
parentc244ee5e3e00e6023cae32aa06ed56d8cb437030 (diff)
Delete unused function
Summary: The function was introduced in 2d99ef918bbd797701ac63c8e3d4d7ca05f64651. 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
-rw-r--r--layers.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/layers.cpp b/layers.cpp
index caa7db1..55c97fe 100644
--- a/layers.cpp
+++ b/layers.cpp
@@ -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