From 2af8cc769a4cb2e47d6ec75aa62bb8e565578a24 Mon Sep 17 00:00:00 2001 From: Kirill Primak Date: Thu, 14 Oct 2021 22:40:12 +0300 Subject: output: add presented flag to presentation event --- backend/drm/drm.c | 1 + 1 file changed, 1 insertion(+) (limited to 'backend/drm') diff --git a/backend/drm/drm.c b/backend/drm/drm.c index abfd1c2f..191ad064 100644 --- a/backend/drm/drm.c +++ b/backend/drm/drm.c @@ -1465,6 +1465,7 @@ static void handle_page_flip(int fd, unsigned seq, /* The DRM backend guarantees that the presentation event will be for * the last submitted frame. */ .commit_seq = conn->output.commit_seq, + .presented = true, .when = &present_time, .seq = seq, .refresh = mhz_to_nsec(conn->output.refresh), -- cgit v1.2.3