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

Unified Diff: ui/views/widget/desktop_aura/x11_desktop_window_move_client.cc

Issue 821803002: Use XGrabPointer instead of XChangeActivatePointerGrab() to change the cursor during a pointer grab (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fix_capture
Patch Set: Created 5 years, 11 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
Index: ui/views/widget/desktop_aura/x11_desktop_window_move_client.cc
diff --git a/ui/views/widget/desktop_aura/x11_desktop_window_move_client.cc b/ui/views/widget/desktop_aura/x11_desktop_window_move_client.cc
index 35403700d7dd0951636ac8bcbc73be124e9be860..3d547029d8bc7eed327333123df72995f6b23dcb 100644
--- a/ui/views/widget/desktop_aura/x11_desktop_window_move_client.cc
+++ b/ui/views/widget/desktop_aura/x11_desktop_window_move_client.cc
@@ -52,7 +52,7 @@ aura::client::WindowMoveResult X11DesktopWindowMoveClient::RunMoveLoop(
host_ = source->GetHost();
source->SetCapture();
- bool success = move_loop_.RunMoveLoop(source, host_->last_cursor());
+ bool success = move_loop_.RunMoveLoop(source);
return success ? aura::client::MOVE_SUCCESSFUL : aura::client::MOVE_CANCELED;
}

Powered by Google App Engine
This is Rietveld 408576698