| Index: athena/home/home_card_impl.cc
|
| diff --git a/athena/home/home_card_impl.cc b/athena/home/home_card_impl.cc
|
| index 2bf8d50d982d1b832380c21ee7ed18e44d872e94..e270bb4c4e723b95876cd355d64cafcae0d806c9 100644
|
| --- a/athena/home/home_card_impl.cc
|
| +++ b/athena/home/home_card_impl.cc
|
| @@ -239,8 +239,10 @@ class HomeCardImpl : public HomeCard,
|
| // aura::client::ActivationChangeObserver:
|
| virtual void OnWindowActivated(aura::Window* gained_active,
|
| aura::Window* lost_active) OVERRIDE {
|
| - if (gained_active != home_card_widget_->GetNativeWindow())
|
| + if (state_ != HIDDEN &&
|
| + gained_active != home_card_widget_->GetNativeWindow()) {
|
| SetState(VISIBLE_MINIMIZED);
|
| + }
|
| }
|
|
|
| scoped_ptr<AppModelBuilder> model_builder_;
|
|
|