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

Unified Diff: ui/events/ozone/evdev/event_factory_evdev.cc

Issue 657603002: ash: ozone: apply transformation to events outside the root window (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase on ToT Created 6 years, 1 month 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: ui/events/ozone/evdev/event_factory_evdev.cc
diff --git a/ui/events/ozone/evdev/event_factory_evdev.cc b/ui/events/ozone/evdev/event_factory_evdev.cc
index eb9c99a322a3a6da7e9c1261aea3f830b58327e1..d56c70ce8b005450c22a53b13aeb620f2c6e1185 100644
--- a/ui/events/ozone/evdev/event_factory_evdev.cc
+++ b/ui/events/ozone/evdev/event_factory_evdev.cc
@@ -284,7 +284,7 @@ void EventFactoryEvdev::WarpCursorTo(gfx::AcceleratedWidget widget,
cursor_->MoveCursorTo(widget, location);
PostUiEvent(make_scoped_ptr(new MouseEvent(ET_MOUSE_MOVED,
cursor_->location(),
- cursor_->location(),
+ cursor_->root_location(),
modifiers_.GetModifierFlags(),
/* changed_button_flags */ 0)));
}

Powered by Google App Engine
This is Rietveld 408576698