aboutsummaryrefslogtreecommitdiff
path: root/sway/ipc-server.c
diff options
context:
space:
mode:
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) {
}
struct sway_output *output;
wl_list_for_each(output, &root->all_outputs, link) {
- if (!output->enabled) {
+ if (!output->enabled && output != root->noop_output) {
json_object_array_add(outputs,
ipc_json_describe_disabled_output(output));
}