aboutsummaryrefslogtreecommitdiff
path: root/backend/x11
diff options
context:
space:
mode:
Diffstat (limited to 'backend/x11')
-rw-r--r--backend/x11/output.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/backend/x11/output.c b/backend/x11/output.c
index 2f996c10..3ad7b4a4 100644
--- a/backend/x11/output.c
+++ b/backend/x11/output.c
@@ -690,9 +690,11 @@ void handle_x11_present_event(struct wlr_x11_backend *x11,
flags |= WLR_OUTPUT_PRESENT_ZERO_COPY;
}
+ bool presented = complete_notify->mode != XCB_PRESENT_COMPLETE_MODE_SKIP;
struct wlr_output_event_present present_event = {
.output = &output->wlr_output,
.commit_seq = complete_notify->serial,
+ .presented = presented,
.when = &t,
.seq = complete_notify->msc,
.flags = flags,