Chromium Code Reviews| Index: chrome/browser/ui/views/tabs/dragged_tab_controller.cc |
| =================================================================== |
| --- chrome/browser/ui/views/tabs/dragged_tab_controller.cc (revision 72124) |
| +++ chrome/browser/ui/views/tabs/dragged_tab_controller.cc (working copy) |
| @@ -532,7 +532,7 @@ |
| 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()) { |
|
sky
2011/01/24 21:58:48
If dock_info_.type() == NONE then it might not con
Jamie
2011/01/25 17:13:02
Can you clarify what you mean by this? If dock_inf
|
| // 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; |