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:
parent
c2db691cad
commit
2934a72920
|
@ -374,7 +374,6 @@ static void frame_handle_copy(struct wl_client *wl_client,
|
||||||
frame->buffer_destroy.notify = frame_handle_buffer_destroy;
|
frame->buffer_destroy.notify = frame_handle_buffer_destroy;
|
||||||
|
|
||||||
// Schedule a buffer commit
|
// Schedule a buffer commit
|
||||||
output->needs_frame = true;
|
|
||||||
wlr_output_schedule_frame(output);
|
wlr_output_schedule_frame(output);
|
||||||
|
|
||||||
wlr_output_lock_attach_render(output, true);
|
wlr_output_lock_attach_render(output, true);
|
||||||
|
|
Loading…
Reference in New Issue