aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2020-10-22 18:19:13 +0200
committerSimon Ser <contact@emersion.fr>2020-11-04 12:02:56 +0100
commit2934a7292083468b3e25b5d9ff7a03398229b17a (patch)
tree105286f2c45396c347f4d8d87e0fca94932d2324
parentc2db691cad17a6228cde6bbbe39b8afff5f01908 (diff)
screencopy: stop setting needs_frame flag
This is already done by wlr_output_schedule_frame (it calls wlr_output_update_needs_frame).
-rw-r--r--types/wlr_screencopy_v1.c1
1 files changed, 0 insertions, 1 deletions
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);