From 8c44e86077e97c2281475cd99baf85b117a8411c Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Sun, 19 Nov 2023 15:16:20 +0100 Subject: backend/drm: add wlr_drm_connector_state.nonblock Instead of having this condition checked in multiple places, centralize it so that they don't go out-of-sync. --- include/backend/drm/drm.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/backend') diff --git a/include/backend/drm/drm.h b/include/backend/drm/drm.h index 4718eee0..88eacc6e 100644 --- a/include/backend/drm/drm.h +++ b/include/backend/drm/drm.h @@ -126,6 +126,7 @@ struct wlr_drm_mode { struct wlr_drm_connector_state { const struct wlr_output_state *base; bool modeset; + bool nonblock; bool active; drmModeModeInfo mode; struct wlr_drm_fb *primary_fb; -- cgit v1.2.3