aboutsummaryrefslogtreecommitdiff
path: root/backend/headless/output.c
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2023-06-27 15:58:10 +0200
committerAlexander Orzechowski <alex@ozal.ski>2023-06-27 16:26:30 +0000
commit611ce136251503477554d18f00766a77a1dbe7de (patch)
treea4499c10507db45ab5c99c78fa4ae0a359609232 /backend/headless/output.c
parent6c53f7badff80e886d190768b0399023b7bf0f5f (diff)
backend/headless: add support for disabled outputs
We have nothing to do when a headless output is enabled/disabled.
Diffstat (limited to 'backend/headless/output.c')
-rw-r--r--backend/headless/output.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/backend/headless/output.c b/backend/headless/output.c
index 0a183600..cddbb027 100644
--- a/backend/headless/output.c
+++ b/backend/headless/output.c
@@ -9,6 +9,7 @@
static const uint32_t SUPPORTED_OUTPUT_STATE =
WLR_OUTPUT_STATE_BACKEND_OPTIONAL |
WLR_OUTPUT_STATE_BUFFER |
+ WLR_OUTPUT_STATE_ENABLED |
WLR_OUTPUT_STATE_MODE;
static size_t last_output_num = 0;