Chromium Code Reviews| Index: services/ui/ws/window_server.cc |
| diff --git a/services/ui/ws/window_server.cc b/services/ui/ws/window_server.cc |
| index 4a2cb7d666377afd90156bd1183b542e4877b8d9..e9cba22b3b5c0a044759cd18863540d4c58af166 100644 |
| --- a/services/ui/ws/window_server.cc |
| +++ b/services/ui/ws/window_server.cc |
| @@ -425,11 +425,12 @@ void WindowServer::ProcessWillChangeWindowPredefinedCursor( |
| void WindowServer::SendToPointerWatchers(const ui::Event& event, |
| const UserId& user_id, |
| ServerWindow* target_window, |
| - WindowTree* ignore_tree) { |
| + WindowTree* ignore_tree, |
| + int64_t display_id) { |
|
sadrul
2017/02/09 02:27:45
Can this figure out the display-id here from |targ
sky
2017/02/09 17:06:20
See my earlier comment as to why this passes in th
|
| for (auto& pair : tree_map_) { |
| WindowTree* tree = pair.second.get(); |
| if (tree->user_id() == user_id && tree != ignore_tree) |
| - tree->SendToPointerWatcher(event, target_window); |
| + tree->SendToPointerWatcher(event, target_window, display_id); |
| } |
| } |