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

Unified Diff: ui/events/x/events_x_utils.cc

Issue 2298953003: Handle XI_Enter and XI_Leave events. (Closed)
Patch Set: Created 4 years, 4 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/x/events_x_utils.cc
diff --git a/ui/events/x/events_x_utils.cc b/ui/events/x/events_x_utils.cc
index 60ba15d057242882a68a34ce99d69abe556e09f0..bd84d1fd6cea53df788b3b007fdced0896d30b25 100644
--- a/ui/events/x/events_x_utils.cc
+++ b/ui/events/x/events_x_utils.cc
@@ -270,6 +270,10 @@ ui::EventType GetTouchEventType(const XEvent& xev) {
case XI_DeviceChanged:
// This can happen when --touch-devices flag is used.
return ui::ET_UNKNOWN;
+ case XI_Leave:
+ case XI_Enter:
+ // We don't handle enter/leave but they're expected.
sadrul 2016/09/01 23:12:55 We do handle these events though: https://cs.chrom
kylechar 2016/09/06 17:29:57 Done.
+ return ui::ET_UNKNOWN;
default:
NOTREACHED();
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698