From cbcd99435fbc94b8bf0191ccdc4664de20d00e45 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Mon, 26 Jun 2023 11:49:38 +0200 Subject: [PATCH] backend/drm: remove duplicate needs_frame() in set_cursor() wlr_output_update_needs_frame() is called unconditionally at the end of the function already. --- backend/drm/drm.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/backend/drm/drm.c b/backend/drm/drm.c index 7ead82ab..a4853ffa 100644 --- a/backend/drm/drm.c +++ b/backend/drm/drm.c @@ -931,8 +931,6 @@ static bool drm_connector_set_cursor(struct wlr_output *output, conn->cursor_y -= hotspot_y - conn->cursor_hotspot_y; conn->cursor_hotspot_x = hotspot_x; conn->cursor_hotspot_y = hotspot_y; - - wlr_output_update_needs_frame(output); } conn->cursor_enabled = false;