Chromium Code Reviews| Index: ui/views/widget/desktop_aura/x11_whole_screen_move_loop.cc |
| diff --git a/ui/views/widget/desktop_aura/x11_whole_screen_move_loop.cc b/ui/views/widget/desktop_aura/x11_whole_screen_move_loop.cc |
| index 6c0b3c6b9e7962b9c3410a2a6916458ee80179f8..1026cc401493403f26b502f2e90cfd0227f9ab57 100644 |
| --- a/ui/views/widget/desktop_aura/x11_whole_screen_move_loop.cc |
| +++ b/ui/views/widget/desktop_aura/x11_whole_screen_move_loop.cc |
| @@ -280,9 +280,6 @@ void X11WholeScreenMoveLoop::SetDragImage(const gfx::ImageSkia& image, |
| gfx::Vector2dF offset) { |
| drag_image_ = image; |
| drag_offset_ = offset; |
| - // Reset the Y offset, so that the drag-image is always just below the cursor, |
|
spartha
2014/06/20 11:19:00
This looks like more of a UX descision. But this c
|
| - // so that it is possible to see where the cursor is going. |
| - drag_offset_.set_y(0.f); |
| } |
| bool X11WholeScreenMoveLoop::GrabPointerAndKeyboard(gfx::NativeCursor cursor) { |