Index: services/ui/ws/window_tree.cc |
diff --git a/services/ui/ws/window_tree.cc b/services/ui/ws/window_tree.cc |
index 6e8ca14a421a5a729f2a2af57c3b8458ef08f10f..588ead4c92a91733b9a5d33700884699816df5b2 100644 |
--- a/services/ui/ws/window_tree.cc |
+++ b/services/ui/ws/window_tree.cc |
@@ -2326,6 +2326,16 @@ void WindowTree::WmSetGlobalOverrideCursor( |
window_manager_state_->cursor_state().SetGlobalOverrideCursor(cursor); |
} |
+void WindowTree::WmMoveCursorToScreenLocationInPixels( |
+ const gfx::Point& screen_pixel_location) { |
+ DCHECK(window_manager_state_); |
+ // Here, I need to go from a screen location to a display location? |
+ // |
+ // TODO(erg): This is all wrong, I need to resolve this to work in the |
+ // multi-display case. |
+ window_manager_state_->SetCursorLocation(screen_pixel_location); |
+} |
+ |
void WindowTree::OnWmCreatedTopLevelWindow(uint32_t change_id, |
Id transport_window_id) { |
ServerWindow* window = |