| Index: ash/system/status_area_widget.cc
|
| diff --git a/ash/system/status_area_widget.cc b/ash/system/status_area_widget.cc
|
| index b78677fe62edfb98e89ca8e8be5a97e64cb97f41..f8dfb81b2641b04c3260c4425043eeb8cde8d870 100644
|
| --- a/ash/system/status_area_widget.cc
|
| +++ b/ash/system/status_area_widget.cc
|
| @@ -215,7 +215,9 @@ void StatusAreaWidget::AddPaletteTray() {
|
| // Create the palette only on the internal display, where the stylus is
|
| // available. We also create a palette on every display if requested from the
|
| // command line.
|
| - if (display.IsInternal() || palette_utils::IsPaletteEnabledOnEveryDisplay()) {
|
| + if (palette_utils::HasStylusInput() &&
|
| + (display.IsInternal() ||
|
| + palette_utils::IsPaletteEnabledOnEveryDisplay())) {
|
| palette_tray_ = new PaletteTray(wm_shelf_);
|
| status_area_widget_delegate_->AddTray(palette_tray_);
|
| }
|
|
|