| Index: components/mus/ws/event_dispatcher.cc
|
| diff --git a/components/mus/ws/event_dispatcher.cc b/components/mus/ws/event_dispatcher.cc
|
| index 98e09b71ad7f98e35bab2424de20c9d038a6b94d..b4d5936d81900641a11ce4662b3985804e6684f5 100644
|
| --- a/components/mus/ws/event_dispatcher.cc
|
| +++ b/components/mus/ws/event_dispatcher.cc
|
| @@ -371,6 +371,8 @@ void EventDispatcher::DispatchToPointerTarget(const PointerTarget& target,
|
| if (!target.window)
|
| return;
|
|
|
| + // Transform the event to the target's coordinate system. The root_location
|
| + // is not changed because each EventDispatcher manages a single root.
|
| gfx::Point location(event.location());
|
| gfx::Transform transform(GetTransformToWindow(surface_id_, target.window));
|
| transform.TransformPoint(&location);
|
|
|