| Index: ash/display/mouse_cursor_event_filter_ozone.cc
|
| diff --git a/ash/display/mouse_cursor_event_filter_ozone.cc b/ash/display/mouse_cursor_event_filter_ozone.cc
|
| index fe2fb3adfcfbc80a5bc51f40fd4c3423dde1abae..c342dbac644f2d4fdf69b8e4d3707ebb67d7e1e4 100644
|
| --- a/ash/display/mouse_cursor_event_filter_ozone.cc
|
| +++ b/ash/display/mouse_cursor_event_filter_ozone.cc
|
| @@ -16,6 +16,9 @@ void MouseCursorEventFilter::OnDisplayConfigurationChanged() {
|
| }
|
|
|
| bool MouseCursorEventFilter::WarpMouseCursorIfNecessary(ui::MouseEvent* event) {
|
| + if (event->flags() & ui::EF_IS_SYNTHESIZED)
|
| + return false;
|
| +
|
| gfx::Point point_in_screen(event->location());
|
| aura::Window* target = static_cast<aura::Window*>(event->target());
|
| wm::ConvertPointToScreen(target, &point_in_screen);
|
|
|