diff --git a/layers.cpp b/layers.cpp index caa7db1d3b..55c97fe3a3 100644 --- a/layers.cpp +++ b/layers.cpp @@ -809,14 +809,4 @@ bool Client::belongsToDesktop() const return false; } -bool rec_checkTransientOnTop(const QList &transients, const Client *topmost) -{ - foreach (const AbstractClient *transient, transients) { - if (transient == topmost || rec_checkTransientOnTop(transient->transients(), topmost)) { - return true; - } - } - return false; -} - } // namespace