Chromium Code Reviews| Index: services/ui/ws/window_tree.cc |
| diff --git a/services/ui/ws/window_tree.cc b/services/ui/ws/window_tree.cc |
| index 1841ffee0ca8a83d009cc303e5cd7f72f46a07c8..589206d8e1ae12a4e55037b4147aa8498ebd27cc 100644 |
| --- a/services/ui/ws/window_tree.cc |
| +++ b/services/ui/ws/window_tree.cc |
| @@ -1050,7 +1050,9 @@ bool WindowTree::EventMatchesPointerWatcher(const ui::Event& event) const { |
| if (pointer_watcher_want_moves_ && event.type() == ui::ET_POINTER_MOVED) |
| return true; |
| return event.type() == ui::ET_POINTER_DOWN || |
| - event.type() == ui::ET_POINTER_UP; |
| + event.type() == ui::ET_POINTER_UP || |
| + event.type() == ui::ET_POINTER_WHEEL_CHANGED || |
| + event.type() == ui::ET_POINTER_CAPTURE_CHANGED; |
|
sky
2016/09/09 21:42:30
I don't think capture_changed is ever sent through
riajiang
2016/09/12 16:15:47
No I don't think I've encountered any capture chan
|
| } |
| void WindowTree::NewWindow( |