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

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

Issue 16271006: Drag on linux (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Document Created 7 years, 6 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 f164e0c02e3f3b2ed42b064f1d30c775e9f9bd9f..cce64f1ee96f16395f3808ed6a7a4691e3cbf649 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
@@ -34,6 +34,10 @@ void X11DesktopWindowMoveClient::OnMouseMovement(XMotionEvent* event) {
system_loc, root_window_->GetHostSize()));
}
+void X11DesktopWindowMoveClient::OnMouseReleased() {
+ EndMoveLoop();
+}
+
void X11DesktopWindowMoveClient::OnMoveLoopEnded() {
root_window_ = NULL;
}

Powered by Google App Engine
This is Rietveld 408576698