Index: ash/host/ash_window_tree_host_x11.cc |
diff --git a/ash/host/ash_window_tree_host_x11.cc b/ash/host/ash_window_tree_host_x11.cc |
index e49e9617727490faa3b400f4998022d46c448f86..6d32e2bf65180a4dcb718d4db0ec0f77de2a4f5a 100644 |
--- a/ash/host/ash_window_tree_host_x11.cc |
+++ b/ash/host/ash_window_tree_host_x11.cc |
@@ -340,7 +340,7 @@ void AshWindowTreeHostX11::TranslateAndDispatchLocatedEvent( |
aura::client::ScreenPositionClient* screen_position_client = |
aura::client::GetScreenPositionClient(root_window); |
gfx::Rect local(bounds().size()); |
- |
+ local.Inset(transformer_helper_.GetHostInsets()); |
if (screen_position_client && !local.Contains(event->location())) { |
gfx::Point location(event->location()); |
// In order to get the correct point in screen coordinates |