diff options
author | Kirill Primak <vyivel@posteo.net> | 2021-10-14 22:40:12 +0300 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-10-15 09:38:58 +0200 |
commit | 2af8cc769a4cb2e47d6ec75aa62bb8e565578a24 (patch) | |
tree | bc809b9415aa3cc8b95091f4d65bc03a50310983 /backend/headless | |
parent | 1089b7b8d638a286c70571fced969826d61143bc (diff) | |
download | wlroots-2af8cc769a4cb2e47d6ec75aa62bb8e565578a24.tar.xz |
output: add presented flag to presentation event
Diffstat (limited to 'backend/headless')
-rw-r--r-- | backend/headless/output.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/backend/headless/output.c b/backend/headless/output.c index 8351c935..43762b23 100644 --- a/backend/headless/output.c +++ b/backend/headless/output.c @@ -66,6 +66,7 @@ static bool output_commit(struct wlr_output *wlr_output) { if (wlr_output->pending.committed & WLR_OUTPUT_STATE_BUFFER) { struct wlr_output_event_present present_event = { .commit_seq = wlr_output->commit_seq + 1, + .presented = true, }; wlr_output_send_present(wlr_output, &present_event); } |