Index: ash/shell/launcher_delegate_impl.cc |
diff --git a/ash/shell/launcher_delegate_impl.cc b/ash/shell/launcher_delegate_impl.cc |
index ec97cd72a4e7daed2928d9ebd60302e46f572a43..4e5460095819e3ee137652a7f2b7cd704c4284a3 100644 |
--- a/ash/shell/launcher_delegate_impl.cc |
+++ b/ash/shell/launcher_delegate_impl.cc |
@@ -32,7 +32,8 @@ void LauncherDelegateImpl::OnBrowserShortcutClicked(int event_flags) { |
void LauncherDelegateImpl::ItemClicked(const ash::LauncherItem& item, |
const ui::Event& event) { |
aura::Window* window = watcher_->GetWindowByID(item.id); |
- ash::launcher::MoveToEventRootIfPanel(window, event); |
+ if (window->type() == aura::client::WINDOW_TYPE_PANEL) |
+ ash::wm::MoveWindowToEventRoot(window, event); |
window->Show(); |
ash::wm::ActivateWindow(window); |
} |