mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-22 12:55:58 +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 DRM backend guarantees that the presentation event will be for
|
||||||
* the last submitted frame. */
|
* the last submitted frame. */
|
||||||
.commit_seq = conn->output.commit_seq,
|
.commit_seq = conn->output.commit_seq,
|
||||||
.presented = true,
|
.presented = drm->session->active,
|
||||||
.when = &present_time,
|
.when = &present_time,
|
||||||
.seq = seq,
|
.seq = seq,
|
||||||
.refresh = mhz_to_nsec(conn->output.refresh),
|
.refresh = mhz_to_nsec(conn->output.refresh),
|
||||||
|
|
Loading…
Reference in a new issue