mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-12-22 18:09:49 +01:00
backend/drm: report !presented if session is inactive
This commit is contained in:
parent
f7afef0b1f
commit
fc81d06add
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue