Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / ash / system / tray / tray_event_filter.cc
index 5ed0122..b7a6d61 100644 (file)
@@ -62,6 +62,13 @@ bool TrayEventFilter::ProcessLocatedEvent(ui::LocatedEvent* event) {
             ->Contains(target)) {
       return false;
     }
+    // Don't process events that occurred inside the status area widget and
+    // a popup notification from message center.
+    if (root_controller &&
+        root_controller->GetContainer(kShellWindowId_StatusContainer)
+            ->Contains(target)) {
+      return false;
+    }
   }
 
   // Check the boundary for all wrappers, and do not handle the event if it