Index: ash/common/wm/drag_details.cc |
diff --git a/ash/common/wm/drag_details.cc b/ash/common/wm/drag_details.cc |
index 73815a41eff661689edb01ef949a23737c47f3a0..7682b4afba1c1570dfca0ccb02ac9d04063cd45b 100644 |
--- a/ash/common/wm/drag_details.cc |
+++ b/ash/common/wm/drag_details.cc |
@@ -68,8 +68,8 @@ DragDetails::DragDetails(WmWindow* window, |
window->GetType() == ui::wm::WINDOW_TYPE_PANEL && |
window->GetBoolProperty(WmWindowProperty::PANEL_ATTACHED)) { |
wm::WindowState* window_state = window->GetWindowState(); |
- if ((window_state->IsNormalOrSnapped() || window_state->IsDocked()) && |
- window_state->HasRestoreBounds() && window_component == HTCAPTION) { |
+ if (window_state->IsNormalOrSnapped() && window_state->HasRestoreBounds() && |
+ window_component == HTCAPTION) { |
restore_bounds = window_state->GetRestoreBoundsInScreen(); |
} |
} |