mirror of
https://github.com/swaywm/sway.git
synced 2025-03-19 12:59:32 +00:00
Hide noop output in IPC
This commit is contained in:
parent
75e7ce82f5
commit
e815e48cee
1 changed files with 1 additions and 1 deletions
|
@ -638,7 +638,7 @@ void ipc_client_handle_command(struct ipc_client *client) {
|
||||||
}
|
}
|
||||||
struct sway_output *output;
|
struct sway_output *output;
|
||||||
wl_list_for_each(output, &root->all_outputs, link) {
|
wl_list_for_each(output, &root->all_outputs, link) {
|
||||||
if (!output->enabled) {
|
if (!output->enabled && output != root->noop_output) {
|
||||||
json_object_array_add(outputs,
|
json_object_array_add(outputs,
|
||||||
ipc_json_describe_disabled_output(output));
|
ipc_json_describe_disabled_output(output));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue