| Index: ash/display/display_controller.cc
|
| diff --git a/ash/display/display_controller.cc b/ash/display/display_controller.cc
|
| index 5d5144b7064bff010abc48a7b9518876381e0d49..cc5a8b48db9a577614e22fd9f9d3cbd56717b0f4 100644
|
| --- a/ash/display/display_controller.cc
|
| +++ b/ash/display/display_controller.cc
|
| @@ -538,7 +538,7 @@ void DisplayController::SetPrimaryDisplay(
|
| GetDisplayManager()->set_force_bounds_changed(false);
|
| }
|
|
|
| -void DisplayController::EnsurePointerInDisplays() {
|
| +void DisplayController::UpdateMouseLocationAfterDisplayChange() {
|
| // If the mouse is currently on a display in native location,
|
| // use the same native location. Otherwise find the display closest
|
| // to the current cursor location in screen coordinates.
|
| @@ -781,7 +781,7 @@ void DisplayController::PostDisplayConfigurationChange() {
|
| }
|
| FOR_EACH_OBSERVER(Observer, observers_, OnDisplayConfigurationChanged());
|
| UpdateHostWindowNames();
|
| - EnsurePointerInDisplays();
|
| + UpdateMouseLocationAfterDisplayChange();
|
| }
|
|
|
| AshWindowTreeHost* DisplayController::AddWindowTreeHostForDisplay(
|
|
|