Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(230)

Unified Diff: ui/views/mus/mus_client.cc

Issue 2715513006: Fix showing the sibling menu on mouse move (Closed)
Patch Set: Fix compile error Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/aura/window_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/mus/mus_client.cc
diff --git a/ui/views/mus/mus_client.cc b/ui/views/mus/mus_client.cc
index a2c40a4a84acb52272b73650ccd50613ac0da692..ee16fd9beba93b337ae70c8e35200819acac79d7 100644
--- a/ui/views/mus/mus_client.cc
+++ b/ui/views/mus/mus_client.cc
@@ -300,7 +300,7 @@ aura::Window* MusClient::GetWindowAtScreenPoint(const gfx::Point& point) {
gfx::Point relative_point(point);
window_tree_host->ConvertScreenInPixelsToDIP(&relative_point);
if (gfx::Rect(root->bounds().size()).Contains(relative_point))
- return root->GetTopWindowContainingPoint(relative_point);
+ return root->GetEventHandlerForPoint(relative_point);
}
return nullptr;
}
« no previous file with comments | « ui/aura/window_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698