diff options
author | Ronan Pigott <rpigott@berkeley.edu> | 2020-01-14 19:39:45 -0700 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2020-01-22 13:30:52 -0500 |
commit | 94199fe91cfe68af7c1f925337abc8a2e330cde3 (patch) | |
tree | 7946d96e1d608c27d0db91c2ed6aee319fe9d121 | |
parent | commands/split: Fix error message typos (diff) | |
download | sway-94199fe91cfe68af7c1f925337abc8a2e330cde3.tar.gz sway-94199fe91cfe68af7c1f925337abc8a2e330cde3.tar.zst sway-94199fe91cfe68af7c1f925337abc8a2e330cde3.zip |
ipc-json: Remove unnecessary dereference
-rw-r--r-- | sway/ipc-json.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/ipc-json.c b/sway/ipc-json.c index 6cf8504a..2e75b595 100644 --- a/sway/ipc-json.c +++ b/sway/ipc-json.c | |||
@@ -163,7 +163,7 @@ static void ipc_json_describe_output(struct sway_output *output, | |||
163 | json_object_object_add(object, "type", json_object_new_string("output")); | 163 | json_object_object_add(object, "type", json_object_new_string("output")); |
164 | json_object_object_add(object, "active", json_object_new_boolean(true)); | 164 | json_object_object_add(object, "active", json_object_new_boolean(true)); |
165 | json_object_object_add(object, "dpms", | 165 | json_object_object_add(object, "dpms", |
166 | json_object_new_boolean(output->wlr_output->enabled)); | 166 | json_object_new_boolean(wlr_output->enabled)); |
167 | json_object_object_add(object, "primary", json_object_new_boolean(false)); | 167 | json_object_object_add(object, "primary", json_object_new_boolean(false)); |
168 | json_object_object_add(object, "layout", json_object_new_string("output")); | 168 | json_object_object_add(object, "layout", json_object_new_string("output")); |
169 | json_object_object_add(object, "orientation", | 169 | json_object_object_add(object, "orientation", |