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

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

Issue 2298953003: Handle XI_Enter and XI_Leave events. (Closed)
Patch Set: Fix. 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
« no previous file with comments | « no previous file | ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc » ('j') | 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..3b19c7ab64476fb4a31dde788ccc57f913d73cee 100644
--- a/ui/events/x/events_x_utils.cc
+++ b/ui/events/x/events_x_utils.cc
@@ -270,6 +270,12 @@ 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:
+ case XI_FocusIn:
+ case XI_FocusOut:
+ // These may be handled by the PlatformEventDispatcher directly.
+ return ui::ET_UNKNOWN;
default:
NOTREACHED();
}
« no previous file with comments | « no previous file | ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698