From 2934a7292083468b3e25b5d9ff7a03398229b17a Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Thu, 22 Oct 2020 18:19:13 +0200 Subject: screencopy: stop setting needs_frame flag This is already done by wlr_output_schedule_frame (it calls wlr_output_update_needs_frame). --- types/wlr_screencopy_v1.c | 1 - 1 file changed, 1 deletion(-) diff --git a/types/wlr_screencopy_v1.c b/types/wlr_screencopy_v1.c index 702a62b5..19e08a71 100644 --- a/types/wlr_screencopy_v1.c +++ b/types/wlr_screencopy_v1.c @@ -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); -- cgit v1.2.3