screencopy: stop setting needs_frame flag

This is already done by wlr_output_schedule_frame (it calls
wlr_output_update_needs_frame).
master
Simon Ser 4 years ago
parent c2db691cad
commit 2934a72920
No known key found for this signature in database
GPG Key ID: 0FDE7BE0E88F5E48

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

Loading…
Cancel
Save