aboutsummaryrefslogtreecommitdiffstats
path: root/sway/ipc-server.c
diff options
context:
space:
mode:
authorLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2019-01-20 10:50:36 +1000
committerLibravatar emersion <contact@emersion.fr>2019-01-22 09:55:13 +0100
commite815e48ceebfb43627b8d1427400aa51bd93bf7d (patch)
treed2334eecccbb5e72d31dd474269e4f9f87914a66 /sway/ipc-server.c
parentPrevent noop output from being enabled (diff)
downloadsway-e815e48ceebfb43627b8d1427400aa51bd93bf7d.tar.gz
sway-e815e48ceebfb43627b8d1427400aa51bd93bf7d.tar.zst
sway-e815e48ceebfb43627b8d1427400aa51bd93bf7d.zip
Hide noop output in IPC
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 c99f34a9..1dce8146 100644
--- a/sway/ipc-server.c
+++ b/sway/ipc-server.c
@@ -638,7 +638,7 @@ void ipc_client_handle_command(struct ipc_client *client) {
638 } 638 }
639 struct sway_output *output; 639 struct sway_output *output;
640 wl_list_for_each(output, &root->all_outputs, link) { 640 wl_list_for_each(output, &root->all_outputs, link) {
641 if (!output->enabled) { 641 if (!output->enabled && output != root->noop_output) {
642 json_object_array_add(outputs, 642 json_object_array_add(outputs,
643 ipc_json_describe_disabled_output(output)); 643 ipc_json_describe_disabled_output(output));
644 } 644 }