aboutsummaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
Diffstat (limited to 'backend')
-rw-r--r--backend/headless/output.c2
-rw-r--r--backend/wayland/output.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/backend/headless/output.c b/backend/headless/output.c
index f4719a3c..a6c97dec 100644
--- a/backend/headless/output.c
+++ b/backend/headless/output.c
@@ -71,7 +71,7 @@ static bool output_commit(struct wlr_output *wlr_output,
.commit_seq = wlr_output->commit_seq + 1,
.presented = true,
};
- wlr_output_send_present(wlr_output, &present_event);
+ output_defer_present(wlr_output, present_event);
wl_event_source_timer_update(output->frame_timer, output->frame_delay);
}
diff --git a/backend/wayland/output.c b/backend/wayland/output.c
index e51be4c5..2e5c39f5 100644
--- a/backend/wayland/output.c
+++ b/backend/wayland/output.c
@@ -590,7 +590,7 @@ static bool output_commit(struct wlr_output *wlr_output,
.commit_seq = wlr_output->commit_seq + 1,
.presented = true,
};
- wlr_output_send_present(wlr_output, &present_event);
+ output_defer_present(wlr_output, present_event);
}
}