| Index: chrome/browser/ui/views/tabs/dragged_tab_controller.cc
|
| diff --git a/chrome/browser/ui/views/tabs/dragged_tab_controller.cc b/chrome/browser/ui/views/tabs/dragged_tab_controller.cc
|
| index 706b85d04cbb828fa25c6a453a2231976fe8b7d7..ad3cd049c3c6f7a1db132277a15d1d3c14cbb31c 100644
|
| --- a/chrome/browser/ui/views/tabs/dragged_tab_controller.cc
|
| +++ b/chrome/browser/ui/views/tabs/dragged_tab_controller.cc
|
| @@ -532,7 +532,7 @@ void DraggedTabController::UpdateWindowCreatePoint() {
|
|
|
| gfx::Point DraggedTabController::GetWindowCreatePoint() const {
|
| gfx::Point cursor_point = GetCursorScreenPoint();
|
| - if (dock_info_.type() != DockInfo::NONE) {
|
| + if (dock_info_.type() != DockInfo::NONE && dock_info_.in_enable_area()) {
|
| // If we're going to dock, we need to return the exact coordinate,
|
| // otherwise we may attempt to maximize on the wrong monitor.
|
| return cursor_point;
|
|
|