| Index: ash/common/wm/default_state.cc
|
| diff --git a/ash/common/wm/default_state.cc b/ash/common/wm/default_state.cc
|
| index 862355d7b0a61152a4a1fc3d27838f01c5388e02..8149d7f856fc21a1871835fbd425b90fb7595c3e 100644
|
| --- a/ash/common/wm/default_state.cc
|
| +++ b/ash/common/wm/default_state.cc
|
| @@ -280,6 +280,11 @@ void DefaultState::OnWMEvent(WindowState* window_state, const WMEvent* event) {
|
| return;
|
| }
|
|
|
| + if (event->type() == WM_EVENT_SNAP_LEFT ||
|
| + event->type() == WM_EVENT_SNAP_RIGHT) {
|
| + window_state->set_bounds_changed_by_user(true);
|
| + }
|
| +
|
| EnterToNextState(window_state, next_state_type);
|
| }
|
|
|
|
|