| Index: ash/wm/drag_window_resizer.cc
|
| diff --git a/ash/wm/drag_window_resizer.cc b/ash/wm/drag_window_resizer.cc
|
| index 948137e709fb48303476d2690d1296b9c3cc3cac..f6a714c28b0cd93267fe9c2c0661cbb84b08ef35 100644
|
| --- a/ash/wm/drag_window_resizer.cc
|
| +++ b/ash/wm/drag_window_resizer.cc
|
| @@ -216,10 +216,9 @@ void DragWindowResizer::UpdateDragWindow(const gfx::Rect& bounds,
|
| }
|
|
|
| bool DragWindowResizer::ShouldAllowMouseWarp() {
|
| - return (details().window_component == HTCAPTION) &&
|
| - !::wm::GetTransientParent(GetTarget()) &&
|
| - (GetTarget()->type() == ui::wm::WINDOW_TYPE_NORMAL ||
|
| - GetTarget()->type() == ui::wm::WINDOW_TYPE_PANEL);
|
| + return details().window_component == HTCAPTION &&
|
| + !::wm::GetTransientParent(GetTarget()) &&
|
| + wm::IsWindowUserPositionable(GetTarget());
|
| }
|
|
|
| } // namespace ash
|
|
|