aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--types/wlr_output.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/types/wlr_output.c b/types/wlr_output.c
index 580488be..f9edd29a 100644
--- a/types/wlr_output.c
+++ b/types/wlr_output.c
@@ -621,6 +621,9 @@ static void schedule_frame_handle_idle_timer(void *data) {
}
void wlr_output_schedule_frame(struct wlr_output *output) {
+ // Make sure the compositor commits a new frame. This is necessary to make
+ // clients which ask for frame callbacks without submitting a new buffer
+ // work.
wlr_output_update_needs_frame(output);
if (output->frame_pending || output->idle_frame != NULL) {