aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backend/drm/drm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/drm/drm.c b/backend/drm/drm.c
index dafe807b..03cd9318 100644
--- a/backend/drm/drm.c
+++ b/backend/drm/drm.c
@@ -1523,7 +1523,7 @@ static void page_flip_handler(int fd, unsigned seq,
};
wlr_output_send_present(&conn->output, &present_event);
- if (drm->session->active) {
+ if (drm->session->active && conn->output.enabled) {
wlr_output_send_frame(&conn->output);
}
}