summaryrefslogtreecommitdiff
path: root/unity-shared
diff options
authorEleni Maria Stea <elenimaria.stea@canonical.com>2014-10-09 15:10:22 +0300
committerEleni Maria Stea <elenimaria.stea@canonical.com>2014-10-09 15:10:22 +0300
commit4fafbd120a37c35134da3a28538acfa5bd978dff (patch)
tree261c4589b07816ac86d776dee38e7939383fc66d /unity-shared
parent83f97594d92f3f988cf5279199eebb12d69b6515 (diff)
removed double call to LayoutGridWindows, GetRows is enough
(bzr r3875.3.4)
Diffstat (limited to 'unity-shared')
-rw-r--r--unity-shared/LayoutSystem.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/unity-shared/LayoutSystem.cpp b/unity-shared/LayoutSystem.cpp
index 7456e0ed7..e98113919 100644
--- a/unity-shared/LayoutSystem.cpp
+++ b/unity-shared/LayoutSystem.cpp
@@ -46,8 +46,6 @@ void LayoutSystem::LayoutWindowsNearest(LayoutWindow::Vector& windows, nux::Geom
return acentery < bcentery;
});
- LayoutGridWindows(windows, max_bounds, final_bounds);
-
std::vector<LayoutWindow::Vector> const& rows = GetRows(windows, max_bounds);
LayoutWindow::Vector ordered_windows;