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

Unified Diff: services/ui/ws/window_server.cc

Issue 2680883002: Fixes bugs in cursor handling (Closed)
Patch Set: Created 3 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 | « services/ui/ws/window_server.h ('k') | services/ui/ws/window_tree_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/window_server.cc
diff --git a/services/ui/ws/window_server.cc b/services/ui/ws/window_server.cc
index 4a2cb7d666377afd90156bd1183b542e4877b8d9..9ab1795a3d0ae0da4ad5f6e5add65af2a053bf36 100644
--- a/services/ui/ws/window_server.cc
+++ b/services/ui/ws/window_server.cc
@@ -596,7 +596,7 @@ void WindowServer::UpdateNativeCursorIfOver(ServerWindow* window) {
EventDispatcher* event_dispatcher =
display_root->window_manager_state()->event_dispatcher();
- if (window != event_dispatcher->mouse_cursor_source_window())
+ if (window != event_dispatcher->GetWindowForMouseCursor())
return;
event_dispatcher->UpdateNonClientAreaForCurrentWindow();
« no previous file with comments | « services/ui/ws/window_server.h ('k') | services/ui/ws/window_tree_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698