diff options
Diffstat (limited to 'sway/ipc-server.c')
-rw-r--r-- | sway/ipc-server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/ipc-server.c b/sway/ipc-server.c index a6598b84..f3a4647b 100644 --- a/sway/ipc-server.c +++ b/sway/ipc-server.c | |||
@@ -511,7 +511,7 @@ json_object *ipc_json_describe_bar_config(struct bar_config *bar) { | |||
511 | json_object_object_add(json, "tray_output", NULL); | 511 | json_object_object_add(json, "tray_output", NULL); |
512 | json_object_object_add(json, "mode", json_object_new_string(bar->mode)); | 512 | json_object_object_add(json, "mode", json_object_new_string(bar->mode)); |
513 | json_object_object_add(json, "hidden_state", json_object_new_string(bar->hidden_state)); | 513 | json_object_object_add(json, "hidden_state", json_object_new_string(bar->hidden_state)); |
514 | //json_object_object_add(json, "modifier", json_object_new_string(bar->modifier)); // TODO: Fix modifier | 514 | json_object_object_add(json, "modifier", json_object_new_string(get_modifier_name_by_mask(bar->modifier))); |
515 | switch (bar->position) { | 515 | switch (bar->position) { |
516 | case DESKTOP_SHELL_PANEL_POSITION_TOP: | 516 | case DESKTOP_SHELL_PANEL_POSITION_TOP: |
517 | json_object_object_add(json, "position", json_object_new_string("top")); | 517 | json_object_object_add(json, "position", json_object_new_string("top")); |