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

wlr_output_update_needs_frame() is called unconditionally at the
end of the function already.
master
Simon Ser 1 year ago
parent 71b57b8d27
commit cbcd99435f

@ -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_y -= hotspot_y - conn->cursor_hotspot_y;
conn->cursor_hotspot_x = hotspot_x; conn->cursor_hotspot_x = hotspot_x;
conn->cursor_hotspot_y = hotspot_y; conn->cursor_hotspot_y = hotspot_y;
wlr_output_update_needs_frame(output);
} }
conn->cursor_enabled = false; conn->cursor_enabled = false;

Loading…
Cancel
Save