Index: components/mus/ws/window_manager_access_policy.cc |
diff --git a/components/mus/ws/window_manager_access_policy.cc b/components/mus/ws/window_manager_access_policy.cc |
index 69c17f1eeeb90e9dcf65af1e5411b5a335ca4b75..a3fa17007d6051aa08b1acf527e707bcce32035e 100644 |
--- a/components/mus/ws/window_manager_access_policy.cc |
+++ b/components/mus/ws/window_manager_access_policy.cc |
@@ -113,6 +113,12 @@ bool WindowManagerAccessPolicy::CanSetClientArea( |
delegate_->IsRootForAccessPolicy(window->id()); |
} |
+bool WindowManagerAccessPolicy::CanSetCursorProperties( |
+ const ServerWindow* window) const { |
+ return window->id().connection_id == connection_id_ || |
+ delegate_->IsRootForAccessPolicy(window->id()); |
+} |
+ |
bool WindowManagerAccessPolicy::ShouldNotifyOnHierarchyChange( |
const ServerWindow* window, |
const ServerWindow** new_parent, |