Index: services/ui/ws/window_finder.cc |
diff --git a/services/ui/ws/window_finder.cc b/services/ui/ws/window_finder.cc |
index 09be99308ce1fe50dcfc4282af6331da7f931549..a2b0c645e90dfc6cf91f1121722ffaf83ddfbe1d 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->can_accept_events()) |
+ continue; |
+ |
// TODO(sky): support transform. |
gfx::Point child_location(location->x() - child->bounds().x(), |
location->y() - child->bounds().y()); |