aboutsummaryrefslogtreecommitdiff
path: root/backend/drm
diff options
context:
space:
mode:
Diffstat (limited to 'backend/drm')
-rw-r--r--backend/drm/drm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/drm/drm.c b/backend/drm/drm.c
index 0765fd14..85240448 100644
--- a/backend/drm/drm.c
+++ b/backend/drm/drm.c
@@ -1702,7 +1702,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,
+ .presented = drm->session->active,
.when = &present_time,
.seq = seq,
.refresh = mhz_to_nsec(conn->output.refresh),