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

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

Issue 749063003: Fix grabbing capture when the mouse is pressed on Desktop Linux. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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 821dd230b58e35d975a0513216017f57deca6b2f..4977182d1045dc8daee8f820527847e3383f6013 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
@@ -50,7 +50,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