|
|
@ -277,6 +277,8 @@ static void ipc_json_describe_enabled_output(struct sway_output *output,
|
|
|
|
json_object_object_add(object, "active", json_object_new_boolean(true));
|
|
|
|
json_object_object_add(object, "active", json_object_new_boolean(true));
|
|
|
|
json_object_object_add(object, "dpms",
|
|
|
|
json_object_object_add(object, "dpms",
|
|
|
|
json_object_new_boolean(wlr_output->enabled));
|
|
|
|
json_object_new_boolean(wlr_output->enabled));
|
|
|
|
|
|
|
|
json_object_object_add(object, "power",
|
|
|
|
|
|
|
|
json_object_new_boolean(wlr_output->enabled));
|
|
|
|
json_object_object_add(object, "layout", json_object_new_string("output"));
|
|
|
|
json_object_object_add(object, "layout", json_object_new_string("output"));
|
|
|
|
json_object_object_add(object, "orientation",
|
|
|
|
json_object_object_add(object, "orientation",
|
|
|
|
json_object_new_string(
|
|
|
|
json_object_new_string(
|
|
|
@ -354,6 +356,7 @@ json_object *ipc_json_describe_disabled_output(struct sway_output *output) {
|
|
|
|
json_object_new_string(wlr_output->name));
|
|
|
|
json_object_new_string(wlr_output->name));
|
|
|
|
json_object_object_add(object, "active", json_object_new_boolean(false));
|
|
|
|
json_object_object_add(object, "active", json_object_new_boolean(false));
|
|
|
|
json_object_object_add(object, "dpms", json_object_new_boolean(false));
|
|
|
|
json_object_object_add(object, "dpms", json_object_new_boolean(false));
|
|
|
|
|
|
|
|
json_object_object_add(object, "power", json_object_new_boolean(false));
|
|
|
|
|
|
|
|
|
|
|
|
json_object_object_add(object, "current_workspace", NULL);
|
|
|
|
json_object_object_add(object, "current_workspace", NULL);
|
|
|
|
|
|
|
|
|
|
|
|