Chromium Code Reviews| Index: ash/common/wm/default_state.cc |
| diff --git a/ash/common/wm/default_state.cc b/ash/common/wm/default_state.cc |
| index e7aa9e21265f821e039772f6541ea056e37a9cbb..415b55c0bbfed733111d2122106f164cd6bb0b01 100644 |
| --- a/ash/common/wm/default_state.cc |
| +++ b/ash/common/wm/default_state.cc |
| @@ -476,7 +476,8 @@ bool DefaultState::ProcessWorkspaceEvents(WindowState* window_state, |
| wm::AdjustBoundsToEnsureMinimumWindowVisibility(work_area_in_parent, |
| &bounds); |
| window_state->AdjustSnappedBounds(&bounds); |
| - if (window_state->window()->GetBounds() != bounds) |
| + if (window_state->window()->GetBounds() != bounds && |
| + !window_state->ignored_by_shelf()) |
|
sky
2016/08/25 15:19:30
ignored_by_shelf means:
// True if the window i
|
| window_state->SetBoundsDirectAnimated(bounds); |
| return true; |
| } |