screencopy: stop setting needs_frame flag

This is already done by wlr_output_schedule_frame (it calls
wlr_output_update_needs_frame).
This commit is contained in:
Simon Ser 2020-10-22 18:19:13 +02:00
parent c2db691cad
commit 2934a72920
No known key found for this signature in database
GPG Key ID: 0FDE7BE0E88F5E48
1 changed files with 0 additions and 1 deletions

View File

@ -374,7 +374,6 @@ static void frame_handle_copy(struct wl_client *wl_client,
frame->buffer_destroy.notify = frame_handle_buffer_destroy;
// Schedule a buffer commit
output->needs_frame = true;
wlr_output_schedule_frame(output);
wlr_output_lock_attach_render(output, true);