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

Unified Diff: ui/ozone/platform/dri/dri_cursor.cc

Issue 933363003: ozone: dri: Fix missing cursor update when moving to screen location (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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/ozone/platform/dri/dri_cursor.cc
diff --git a/ui/ozone/platform/dri/dri_cursor.cc b/ui/ozone/platform/dri/dri_cursor.cc
index 021a034d5b7b09669538b785a19485a06850b943..e415cf50d4bcb374462bb49d899489f4070f369f 100644
--- a/ui/ozone/platform/dri/dri_cursor.cc
+++ b/ui/ozone/platform/dri/dri_cursor.cc
@@ -166,6 +166,8 @@ void DriCursor::MoveCursorTo(const gfx::PointF& screen_location) {
SetCursorLocationLocked(screen_location -
state_.display_bounds_in_screen.OffsetFromOrigin());
+
+ SendCursorMoveLocked();
}
void DriCursor::MoveCursor(const gfx::Vector2dF& delta) {
« 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