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/output.c | |
parent | Replace wlr_headless_backend_create_with_renderer call (diff) | |
download | sway-0cd8efe0bb669e71e9cdc30d96ae466cb583e605.tar.gz sway-0cd8efe0bb669e71e9cdc30d96ae466cb583e605.tar.zst sway-0cd8efe0bb669e71e9cdc30d96ae466cb583e605.zip |
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/output.c')
-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[] = { | |||
375 | 375 | ||
376 | static void queue_output_config(struct output_config *oc, | 376 | static void queue_output_config(struct output_config *oc, |
377 | struct sway_output *output) { | 377 | struct sway_output *output) { |
378 | if (output == root->noop_output) { | 378 | if (output == root->fallback_output) { |
379 | return; | 379 | return; |
380 | } | 380 | } |
381 | 381 | ||
@@ -478,7 +478,7 @@ static void queue_output_config(struct output_config *oc, | |||
478 | } | 478 | } |
479 | 479 | ||
480 | bool apply_output_config(struct output_config *oc, struct sway_output *output) { | 480 | bool apply_output_config(struct output_config *oc, struct sway_output *output) { |
481 | if (output == root->noop_output) { | 481 | if (output == root->fallback_output) { |
482 | return false; | 482 | return false; |
483 | } | 483 | } |
484 | 484 | ||
@@ -573,7 +573,7 @@ bool apply_output_config(struct output_config *oc, struct sway_output *output) { | |||
573 | } | 573 | } |
574 | 574 | ||
575 | bool test_output_config(struct output_config *oc, struct sway_output *output) { | 575 | bool test_output_config(struct output_config *oc, struct sway_output *output) { |
576 | if (output == root->noop_output) { | 576 | if (output == root->fallback_output) { |
577 | return false; | 577 | return false; |
578 | } | 578 | } |
579 | 579 | ||