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 273372f034053674df646369bc251ecfcb466e3a..41573fece9a0b662decba46fc548292e769ddb34 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( |
const gfx::Vector2d& drag_offset, |
aura::client::WindowMoveSource move_source) { |
window_offset_ = drag_offset; |
- root_window_ = source->GetRootWindow(); |
+ root_window_ = source->GetDispatcher(); |
bool success = move_loop_.RunMoveLoop(source, root_window_->last_cursor()); |
return success ? aura::client::MOVE_SUCCESSFUL : aura::client::MOVE_CANCELED; |