backend/headless: add support for disabled outputs

We have nothing to do when a headless output is enabled/disabled.
This commit is contained in:
Simon Ser 2023-06-27 15:58:10 +02:00 committed by Alexander Orzechowski
parent 6c53f7badf
commit 611ce13625

View file

@ -9,6 +9,7 @@
static const uint32_t SUPPORTED_OUTPUT_STATE = static const uint32_t SUPPORTED_OUTPUT_STATE =
WLR_OUTPUT_STATE_BACKEND_OPTIONAL | WLR_OUTPUT_STATE_BACKEND_OPTIONAL |
WLR_OUTPUT_STATE_BUFFER | WLR_OUTPUT_STATE_BUFFER |
WLR_OUTPUT_STATE_ENABLED |
WLR_OUTPUT_STATE_MODE; WLR_OUTPUT_STATE_MODE;
static size_t last_output_num = 0; static size_t last_output_num = 0;