Index: services/ui/ws/window_manager_state.cc |
diff --git a/services/ui/ws/window_manager_state.cc b/services/ui/ws/window_manager_state.cc |
index a36a9b1f252662b0457bd0507bbff40b44787f85..6435f36843fc129b19bda6506b4682b6f7de4e52 100644 |
--- a/services/ui/ws/window_manager_state.cc |
+++ b/services/ui/ws/window_manager_state.cc |
@@ -192,6 +192,12 @@ void WindowManagerState::ReleaseCaptureBlockedByAnyModalWindow() { |
event_dispatcher_.ReleaseCaptureBlockedByAnyModalWindow(); |
} |
+void WindowManagerState::SetCursorLocation( |
+ const gfx::Point& screen_pixel_location) { |
+ event_dispatcher()->SetMousePointerDisplayLocation(screen_pixel_location, -1); |
Elliot Glaysher
2017/05/31 23:47:32
This here is obviously incorrect in the multi-disp
riajiang
2017/06/01 17:06:07
In WindowTreeHost::MoveCursorToInternal, can we co
|
+ UpdateNativeCursorFromDispatcher(); |
+} |
+ |
void WindowManagerState::SetDragDropSourceWindow( |
DragSource* drag_source, |
ServerWindow* window, |