From 606c9530c81662deac08baa6c7b3d57ee2d0be87 Mon Sep 17 00:00:00 2001 From: Ryan Dwyer Date: Sun, 20 Jan 2019 10:50:36 +1000 Subject: [PATCH] Hide noop output in IPC --- sway/ipc-server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sway/ipc-server.c b/sway/ipc-server.c index 9a033a4b6..a7aeec5b3 100644 --- a/sway/ipc-server.c +++ b/sway/ipc-server.c @@ -637,7 +637,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)); }