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