diff options
author | Rose Hudson <rose@krx.sh> | 2023-08-10 20:38:17 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2023-08-23 16:36:43 +0200 |
commit | fc81d06addbc72012ca72e4ca9a462f22629a451 (patch) | |
tree | 1a0857e4680a04e13b100a778a6748f4be63f9ee /backend | |
parent | f7afef0b1fa9a3f83257fd856271ac5634f5805c (diff) |
backend/drm: report !presented if session is inactive
Diffstat (limited to 'backend')
-rw-r--r-- | backend/drm/drm.c | 2 |
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), |