diff --git a/backend/drm/drm.c b/backend/drm/drm.c index 6cfdb648..7700bd2d 100644 --- a/backend/drm/drm.c +++ b/backend/drm/drm.c @@ -933,7 +933,7 @@ static bool drm_connector_set_cursor(struct wlr_output *output, local_buf = wlr_buffer_lock(buffer); } - bool ok = drm_fb_import(&plane->current_fb, drm, local_buf, + bool ok = drm_fb_import(&plane->pending_fb, drm, local_buf, &plane->formats); wlr_buffer_unlock(local_buf); if (!ok) {