Index: services/ui/ws/window_finder.cc |
diff --git a/services/ui/ws/window_finder.cc b/services/ui/ws/window_finder.cc |
index bbd87374b746a698122bdefe93aab6864a4e0606..6d1c46ba208d7993fb91ebfbe438921d2d29843f 100644 |
--- a/services/ui/ws/window_finder.cc |
+++ b/services/ui/ws/window_finder.cc |
@@ -31,6 +31,9 @@ ServerWindow* FindDeepestVisibleWindowForEvents(ServerWindow* window, |
if (!child->visible()) |
continue; |
+ if (!child->AcceptEvents()) |
+ continue; |
+ |
// TODO(sky): support transform. |
gfx::Point child_location(location->x() - child->bounds().x(), |
location->y() - child->bounds().y()); |