Upstream version 7.35.139.0
[platform/framework/web/crosswalk.git] / src / ash / wm / app_list_controller.cc
index b00319c..f141cb1 100644 (file)
@@ -306,7 +306,7 @@ void AppListController::ProcessLocatedEvent(ui::LocatedEvent* event) {
     }
   }
 
-  aura::Window* window = view_->GetWidget()->GetNativeView();
+  aura::Window* window = view_->GetWidget()->GetNativeView()->parent();
   if (!window->Contains(target))
     SetVisible(false, window);
 }