diff options
author | Simon Zeni <simon@bl4ckb0ne.ca> | 2021-10-04 10:04:46 -0400 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-11-25 17:48:34 +0100 |
commit | 0cd8efe0bb669e71e9cdc30d96ae466cb583e605 (patch) | |
tree | 0cc1cdf1d76347b92376fcf9087792e1b2f69a49 /sway/config | |
parent | 729e18bff5ff5a648a309d645cae100608defd4c (diff) |
sway: replace noop_output by fallback_output
wlroots removed the support for the noop backend. Instead we rely on the
headless backend to provide the fallback output.
Diffstat (limited to 'sway/config')
-rw-r--r-- | sway/config/output.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sway/config/output.c b/sway/config/output.c index 63c81382..fa509252 100644 --- a/sway/config/output.c +++ b/sway/config/output.c @@ -375,7 +375,7 @@ static const uint32_t *bit_depth_preferences[] = { static void queue_output_config(struct output_config *oc, struct sway_output *output) { - if (output == root->noop_output) { + if (output == root->fallback_output) { return; } @@ -478,7 +478,7 @@ static void queue_output_config(struct output_config *oc, } bool apply_output_config(struct output_config *oc, struct sway_output *output) { - if (output == root->noop_output) { + if (output == root->fallback_output) { return false; } @@ -573,7 +573,7 @@ bool apply_output_config(struct output_config *oc, struct sway_output *output) { } bool test_output_config(struct output_config *oc, struct sway_output *output) { - if (output == root->noop_output) { + if (output == root->fallback_output) { return false; } |