Commit b37743d8 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii

Delete noop code

Summary:
checkWorkspacePosition has a guard again desktop clients right at the
top, so the for loop is basically a no-op.

Reviewers: #kwin, davidedmundson

Reviewed By: #kwin, davidedmundson

Subscribers: kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D20777
parent 70b9c365
......@@ -325,10 +325,6 @@ void Workspace::updateClientArea(bool force)
it != m_allClients.constEnd();
++it)
(*it)->checkWorkspacePosition();
for (ClientList::ConstIterator it = desktops.constBegin();
it != desktops.constEnd();
++it)
(*it)->checkWorkspacePosition();
oldrestrictedmovearea.clear(); // reset, no longer valid or needed
}
......
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