aboutsummaryrefslogtreecommitdiff
path: root/sway/ipc-json.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/ipc-json.c')
-rw-r--r--sway/ipc-json.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/ipc-json.c b/sway/ipc-json.c
index 6158fc29..ea7fd9ad 100644
--- a/sway/ipc-json.c
+++ b/sway/ipc-json.c
@@ -148,7 +148,7 @@ static void ipc_json_describe_workspace(struct sway_container *workspace,
json_object_object_add(object, "type", json_object_new_string("workspace"));
json_object_object_add(object, "urgent", json_object_new_boolean(false));
- const char *layout = ipc_json_layout_description(workspace->workspace_layout);
+ const char *layout = ipc_json_layout_description(workspace->layout);
json_object_object_add(object, "layout", json_object_new_string(layout));
}