Index: athena/wm/window_overview_mode.cc |
diff --git a/athena/wm/window_overview_mode.cc b/athena/wm/window_overview_mode.cc |
index 6a3a55f50d787c868633e0df24a575adadf21a90..2f39c415528ee94094b724ecd2e718cf31858261 100644 |
--- a/athena/wm/window_overview_mode.cc |
+++ b/athena/wm/window_overview_mode.cc |
@@ -7,6 +7,7 @@ |
#include <complex> |
#include <vector> |
+#include "athena/util/athena_constants.h" |
#include "athena/wm/overview_toolbar.h" |
#include "athena/wm/public/window_list_provider.h" |
#include "athena/wm/public/window_list_provider_observer.h" |
@@ -363,7 +364,8 @@ class WindowOverviewModeImpl : public WindowOverviewMode, |
const int kGapBetweenWindowsBottom = 10; |
const int kGapBetweenWindowsTop = 5; |
- int top = (window_count - index - 1) * kGapBetweenWindowsTop; |
+ int top = |
+ (window_count - index - 1) * kGapBetweenWindowsTop + kSystemUIHeight; |
int bottom = GetScrollableHeight() - (index * kGapBetweenWindowsBottom); |
WindowOverviewState* state = window->GetProperty(kWindowOverviewState); |