aboutsummaryrefslogtreecommitdiff
path: root/include/backend
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2023-11-19 15:16:20 +0100
committerSimon Ser <contact@emersion.fr>2023-11-19 15:32:30 +0100
commit8c44e86077e97c2281475cd99baf85b117a8411c (patch)
tree1068e503605d932ecc6c2c67a9824d6214326d03 /include/backend
parentf47b6e3fceb3c26d94ca0efa7929a7f741bd4368 (diff)
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.
Diffstat (limited to 'include/backend')
-rw-r--r--include/backend/drm/drm.h1
1 files changed, 1 insertions, 0 deletions
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;