| 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 195d102a5876405308953a22545444be176d71de..821dd230b58e35d975a0513216017f57deca6b2f 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
|
| @@ -49,6 +49,7 @@ aura::client::WindowMoveResult X11DesktopWindowMoveClient::RunMoveLoop(
|
| window_offset_ = drag_offset;
|
| host_ = source->GetHost();
|
|
|
| + source->SetCapture();
|
| bool success = move_loop_.RunMoveLoop(source, host_->last_cursor());
|
| return success ? aura::client::MOVE_SUCCESSFUL : aura::client::MOVE_CANCELED;
|
| }
|
|
|