Index: trunk/src/ash/wm/drag_window_resizer.cc |
=================================================================== |
--- trunk/src/ash/wm/drag_window_resizer.cc (revision 213355) |
+++ trunk/src/ash/wm/drag_window_resizer.cc (working copy) |
@@ -181,7 +181,8 @@ |
new DragWindowController(GetTarget())); |
// Always show the drag phantom on the |another_root| window. |
drag_window_controller_->SetDestinationDisplay( |
- Shell::GetScreen()->GetDisplayNearestWindow(another_root)); |
+ Shell::GetScreen()->GetDisplayMatching( |
+ another_root->GetBoundsInScreen())); |
drag_window_controller_->Show(); |
} else { |
// No animation. |