sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit 33fc9c5f1f1404ba1a8485a98b5b2109d626f1c1
parent f68961fbe651fc706399ed66d327c9ec3dda7a2d
Author: Ronan Pigott <rpigott@berkeley.edu>
Date:   Tue, 14 Jan 2020 19:39:45 -0700

ipc-json: Remove unnecessary dereference

Diffstat:
Msway/ipc-json.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sway/ipc-json.c b/sway/ipc-json.c @@ -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, "active", json_object_new_boolean(true)); 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, "layout", json_object_new_string("output")); json_object_object_add(object, "orientation",