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

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

Issue 2316553003: mash: Add autoclick app. (Closed)
Patch Set: int, deps etc. 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..d25ce00a41e3b706328990879d2b9761ef6edbc1 100644
--- a/services/ui/ws/window_tree.cc
+++ b/services/ui/ws/window_tree.cc
@@ -1050,7 +1050,8 @@ 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;
}
void WindowTree::NewWindow(
« mash/package/mash_packaged_service.cc ('K') | « mash/package/mash_packaged_service.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698