mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2024-11-25 00:22:25 +00:00
backend/drm: report !presented if session is inactive
This commit is contained in:
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…
Reference in New Issue
Block a user