aboutsummaryrefslogtreecommitdiff
path: root/sway/ipc-server.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2015-12-15 09:08:40 -0500
committerDrew DeVault <sir@cmpwn.com>2015-12-15 09:08:40 -0500
commit809c251df81bbdfd0ea13c269c28cd93d57f6e4b (patch)
tree1735f8f1f804d859eb37d49303d4517ac051fa57 /sway/ipc-server.c
parent432e3310f65544d46171c4d25ca252fa0cd34ae7 (diff)
parent6834a33290e7cf9466a3671cb00d3d7b08f68ca7 (diff)
Merge pull request #328 from mikkeloscar/bar-height
Add bar height option (Airblader/i3)
Diffstat (limited to 'sway/ipc-server.c')
-rw-r--r--sway/ipc-server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/ipc-server.c b/sway/ipc-server.c
index 838dbe2a..6764a459 100644
--- a/sway/ipc-server.c
+++ b/sway/ipc-server.c
@@ -419,7 +419,7 @@ void ipc_client_handle_command(struct ipc_client *client) {
}
json_object_object_add(json, "status_command", json_object_new_string(bar->status_command));
json_object_object_add(json, "font", json_object_new_string(bar->font));
- json_object_object_add(json, "bar_height", json_object_new_int(bar->bar_height));
+ json_object_object_add(json, "bar_height", json_object_new_int(bar->height));
json_object_object_add(json, "workspace_buttons", json_object_new_boolean(bar->workspace_buttons));
json_object_object_add(json, "strip_workspace_numbers", json_object_new_boolean(bar->strip_workspace_numbers));
json_object_object_add(json, "binding_mode_indicator", json_object_new_boolean(bar->binding_mode_indicator));