backend/drm: remove duplicate needs_frame() in set_cursor()

wlr_output_update_needs_frame() is called unconditionally at the
end of the function already.
This commit is contained in:
Simon Ser 2023-06-26 11:49:38 +02:00
parent 71b57b8d27
commit cbcd99435f
1 changed files with 0 additions and 2 deletions

View File

@ -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;