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

Unified Diff: ui/views/widget/desktop_aura/desktop_window_tree_host_x11.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 | « ui/events/x/events_x_utils.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc
diff --git a/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc b/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc
index d45f8324f13d56b57002ca31217e1e771656cdd3..66a424a3b2fa782de0337b0d6a267aecb136b1a5 100644
--- a/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc
+++ b/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc
@@ -2059,12 +2059,12 @@ uint32_t DesktopWindowTreeHostX11::DispatchEvent(
OnCrossingEvent(enter_event->evtype == XI_Enter, enter_event->focus,
XI2ModeToXMode(enter_event->mode),
enter_event->detail);
- break;
+ return ui::POST_DISPATCH_STOP_PROPAGATION;
case XI_FocusIn:
case XI_FocusOut:
OnFocusEvent(enter_event->evtype == XI_FocusIn,
XI2ModeToXMode(enter_event->mode), enter_event->detail);
- break;
+ return ui::POST_DISPATCH_STOP_PROPAGATION;
default:
break;
}
« no previous file with comments | « ui/events/x/events_x_utils.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698