backend/drm: report !presented if session is inactive

master
Rose Hudson 1 year ago committed by Simon Ser
parent f7afef0b1f
commit fc81d06add

@ -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),

Loading…
Cancel
Save