diff options
| author | Eleni Maria Stea <elenimaria.stea@canonical.com> | 2014-10-09 15:10:22 +0300 |
|---|---|---|
| committer | Eleni Maria Stea <elenimaria.stea@canonical.com> | 2014-10-09 15:10:22 +0300 |
| commit | 4fafbd120a37c35134da3a28538acfa5bd978dff (patch) | |
| tree | 261c4589b07816ac86d776dee38e7939383fc66d /unity-shared | |
| parent | 83f97594d92f3f988cf5279199eebb12d69b6515 (diff) | |
removed double call to LayoutGridWindows, GetRows is enough
(bzr r3875.3.4)
Diffstat (limited to 'unity-shared')
| -rw-r--r-- | unity-shared/LayoutSystem.cpp | 2 |
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; |
