Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(937)

Unified Diff: services/ui/ws/window_tree.cc

Issue 2316553003: mash: Add autoclick app. (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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(

Powered by Google App Engine
This is Rietveld 408576698