| Index: ui/ozone/platform/dri/dri_cursor.cc
|
| diff --git a/ui/ozone/platform/dri/dri_cursor.cc b/ui/ozone/platform/dri/dri_cursor.cc
|
| index 8314ed79d0f0c225062bc021e518daf38ab8d469..3b05dbc482c98eda1a5e4f7df8723b7253608742 100644
|
| --- a/ui/ozone/platform/dri/dri_cursor.cc
|
| +++ b/ui/ozone/platform/dri/dri_cursor.cc
|
| @@ -68,7 +68,8 @@ void DriCursor::MoveCursorTo(gfx::AcceleratedWidget widget,
|
| DriWindow* window = window_manager_->GetWindow(cursor_window_);
|
| const gfx::Size& size = window->GetBounds().size();
|
| cursor_location_.SetToMax(gfx::PointF(0, 0));
|
| - cursor_location_.SetToMin(gfx::PointF(size.width(), size.height()));
|
| + // Right and bottom edges are exclusive.
|
| + cursor_location_.SetToMin(gfx::PointF(size.width() - 1, size.height() - 1));
|
|
|
| if (cursor_.get())
|
| hardware_->MoveHardwareCursor(cursor_window_, bitmap_location());
|
|
|