aboutsummaryrefslogtreecommitdiffstats
path: root/sway/ipc-server.c
diff options
context:
space:
mode:
authorLibravatar Simon Zeni <simon@bl4ckb0ne.ca>2021-10-04 10:04:46 -0400
committerLibravatar Simon Ser <contact@emersion.fr>2021-11-25 17:48:34 +0100
commit0cd8efe0bb669e71e9cdc30d96ae466cb583e605 (patch)
tree0cc1cdf1d76347b92376fcf9087792e1b2f69a49 /sway/ipc-server.c
parentReplace wlr_headless_backend_create_with_renderer call (diff)
downloadsway-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/ipc-server.c')
-rw-r--r--sway/ipc-server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/ipc-server.c b/sway/ipc-server.c
index aad9a7b5..1bf5a05f 100644
--- a/sway/ipc-server.c
+++ b/sway/ipc-server.c
@@ -687,7 +687,7 @@ void ipc_client_handle_command(struct ipc_client *client, uint32_t payload_lengt
687 } 687 }
688 struct sway_output *output; 688 struct sway_output *output;
689 wl_list_for_each(output, &root->all_outputs, link) { 689 wl_list_for_each(output, &root->all_outputs, link) {
690 if (!output->enabled && output != root->noop_output) { 690 if (!output->enabled && output != root->fallback_output) {
691 json_object_array_add(outputs, 691 json_object_array_add(outputs,
692 ipc_json_describe_disabled_output(output)); 692 ipc_json_describe_disabled_output(output));
693 } 693 }