| Index: mash/wm/window_manager.cc
|
| diff --git a/mash/wm/window_manager.cc b/mash/wm/window_manager.cc
|
| index 614aaf6bc40e5caadca455ed81a893b31c68c045..929c91cf8d5c049888fb7d371152955d28f2143d 100644
|
| --- a/mash/wm/window_manager.cc
|
| +++ b/mash/wm/window_manager.cc
|
| @@ -84,8 +84,10 @@ mus::Window* WindowManager::NewTopLevelWindow(
|
| mus::Window* root = root_controller_->root();
|
| DCHECK(root);
|
|
|
| + // TODO(sky): panels need a different frame, http:://crbug.com/614362.
|
| const bool provide_non_client_frame =
|
| - GetWindowType(*properties) == mus::mojom::WindowType::WINDOW;
|
| + GetWindowType(*properties) == mus::mojom::WindowType::WINDOW ||
|
| + GetWindowType(*properties) == mus::mojom::WindowType::PANEL;
|
| if (provide_non_client_frame)
|
| (*properties)[mus::mojom::kWaitForUnderlay_Property].clear();
|
|
|
|
|