diff --git a/src/backends/native/meta-cursor-renderer-native.c b/src/backends/native/meta-cursor-renderer-native.c index cb39bbed3..4fd7b1736 100644 --- a/src/backends/native/meta-cursor-renderer-native.c +++ b/src/backends/native/meta-cursor-renderer-native.c @@ -366,8 +366,8 @@ update_monitor_crtc_cursor (MetaMonitor *monitor, scaled_crtc_rect.origin.y) * scale; drmModeMoveCursor (kms_fd, crtc->crtc_id, - roundf (crtc_cursor_x), - roundf (crtc_cursor_y)); + floorf (crtc_cursor_x), + floorf (crtc_cursor_y)); data->out_painted = data->out_painted || TRUE; }