mirror of
https://github.com/swaywm/sway.git
synced 2024-12-30 17:06:40 +01:00
ipc-json: Remove unnecessary dereference
This commit is contained in:
parent
f68961fbe6
commit
33fc9c5f1f
1 changed files with 1 additions and 1 deletions
|
@ -163,7 +163,7 @@ static void ipc_json_describe_output(struct sway_output *output,
|
||||||
json_object_object_add(object, "type", json_object_new_string("output"));
|
json_object_object_add(object, "type", json_object_new_string("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(output->wlr_output->enabled));
|
json_object_new_boolean(wlr_output->enabled));
|
||||||
json_object_object_add(object, "primary", json_object_new_boolean(false));
|
json_object_object_add(object, "primary", json_object_new_boolean(false));
|
||||||
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",
|
||||||
|
|
Loading…
Reference in a new issue