diff options
Diffstat (limited to 'ash/wm/drag_window_resizer.cc')
-rw-r--r-- | ash/wm/drag_window_resizer.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ash/wm/drag_window_resizer.cc b/ash/wm/drag_window_resizer.cc index ca332b9..e8f977e 100644 --- a/ash/wm/drag_window_resizer.cc +++ b/ash/wm/drag_window_resizer.cc @@ -181,8 +181,7 @@ void DragWindowResizer::UpdateDragWindow(const gfx::Rect& bounds, new DragWindowController(GetTarget())); // Always show the drag phantom on the |another_root| window. drag_window_controller_->SetDestinationDisplay( - Shell::GetScreen()->GetDisplayMatching( - another_root->GetBoundsInScreen())); + Shell::GetScreen()->GetDisplayNearestWindow(another_root)); drag_window_controller_->Show(); } else { // No animation. |