Index: ash/display/mouse_cursor_event_filter.cc |
diff --git a/ash/display/mouse_cursor_event_filter.cc b/ash/display/mouse_cursor_event_filter.cc |
index 29b417d0a8239803ca497b05b68909a949083009..94501942ef88499855949b42f9ae696e0c4e40fa 100644 |
--- a/ash/display/mouse_cursor_event_filter.cc |
+++ b/ash/display/mouse_cursor_event_filter.cc |
@@ -42,7 +42,12 @@ const int kIndicatorThickness = 1; |
// This is to disable the new mouse warp logic in case |
// it caused the problem in the branch. |
+// Events from Ozone don't have a native event |
+#if defined(USE_OZONE) |
+bool enable_mouse_warp_in_native_coords = false; |
+#else |
bool enable_mouse_warp_in_native_coords = true; |
+#endif |
void ConvertPointFromScreenToNative(const aura::Window* root_window, |
gfx::Point* point) { |