| Index: services/ui/ws/window_server.cc
|
| diff --git a/services/ui/ws/window_server.cc b/services/ui/ws/window_server.cc
|
| index 3a46d4db3178b08b44c7b33ad70d372c6f0da0c3..fa3ade442d8d11a04c3407d42800467d6605e607 100644
|
| --- a/services/ui/ws/window_server.cc
|
| +++ b/services/ui/ws/window_server.cc
|
| @@ -599,7 +599,7 @@ void WindowServer::UpdateNativeCursorFromMouseLocation(ServerWindow* window) {
|
| EventDispatcher* event_dispatcher =
|
| display_root->window_manager_state()->event_dispatcher();
|
| event_dispatcher->UpdateCursorProviderByLastKnownLocation();
|
| - display_root->display()->UpdateNativeCursor(
|
| + display_root->window_manager_state()->cursor_state().SetCurrentWindowCursor(
|
| event_dispatcher->GetCurrentMouseCursor());
|
| }
|
| }
|
| @@ -616,7 +616,7 @@ void WindowServer::UpdateNativeCursorIfOver(ServerWindow* window) {
|
| return;
|
|
|
| event_dispatcher->UpdateNonClientAreaForCurrentWindow();
|
| - display_root->display()->UpdateNativeCursor(
|
| + display_root->window_manager_state()->cursor_state().SetCurrentWindowCursor(
|
| event_dispatcher->GetCurrentMouseCursor());
|
| }
|
|
|
|
|