diff --git a/ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc b/ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc index 35469ecb01a68..adacf8a64f686 100644 --- a/ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc +++ b/ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc @@ -152,7 +152,7 @@ void DesktopWindowTreeHostWin::StartTouchDrag(gfx::Point screen_point) { // Send a mouse down and mouse move before do drag drop runs its own event // loop. This is required for ::DoDragDrop to start the drag. ui::SendMouseEvent(screen_point, - (MOUSEEVENTF_LEFTDOWN | MOUSEEVENTF_VIRTUALDESK)); + (MOUSEEVENTF_RIGHTDOWN | MOUSEEVENTF_VIRTUALDESK)); ui::SendMouseEvent(screen_point, (MOUSEEVENTF_MOVE | MOUSEEVENTF_VIRTUALDESK)); in_touch_drag_ = true; @@ -162,7 +162,7 @@ void DesktopWindowTreeHostWin::FinishTouchDrag(gfx::Point screen_point) { if (in_touch_drag_) { in_touch_drag_ = false; ui::SendMouseEvent(screen_point, - (MOUSEEVENTF_LEFTUP | MOUSEEVENTF_VIRTUALDESK)); + (MOUSEEVENTF_RIGHTUP | MOUSEEVENTF_VIRTUALDESK)); } }