diff options
author | Tony Crisci <tony@dubstepdish.com> | 2018-02-10 19:53:50 -0500 |
---|---|---|
committer | Tony Crisci <tony@dubstepdish.com> | 2018-02-10 19:53:50 -0500 |
commit | 93084c9cf80901b160e0eb50b72a8e607289a678 (patch) | |
tree | 0b6c6753bb52f8382110e8ab5d9755f4807f4ee7 /sway/ipc-json.c | |
parent | properly pick next focus (diff) | |
download | sway-93084c9cf80901b160e0eb50b72a8e607289a678.tar.gz sway-93084c9cf80901b160e0eb50b72a8e607289a678.tar.zst sway-93084c9cf80901b160e0eb50b72a8e607289a678.zip |
remove old focus member
Diffstat (limited to 'sway/ipc-json.c')
-rw-r--r-- | sway/ipc-json.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/ipc-json.c b/sway/ipc-json.c index bab9a201..f0afdc9f 100644 --- a/sway/ipc-json.c +++ b/sway/ipc-json.c | |||
@@ -74,8 +74,8 @@ static void ipc_json_describe_output(swayc_t *container, json_object *object) { | |||
74 | json_object_object_add(object, "refresh", json_object_new_int(wlr_output->refresh)); | 74 | json_object_object_add(object, "refresh", json_object_new_int(wlr_output->refresh)); |
75 | json_object_object_add(object, "transform", | 75 | json_object_object_add(object, "transform", |
76 | json_object_new_string(ipc_json_get_output_transform(wlr_output->transform))); | 76 | json_object_new_string(ipc_json_get_output_transform(wlr_output->transform))); |
77 | json_object_object_add(object, "current_workspace", | 77 | // TODO WLR need to set "current_workspace" to the currently focused |
78 | (container->focused) ? json_object_new_string(container->focused->name) : NULL); | 78 | // workspace in a way that makes sense with multiseat |
79 | } | 79 | } |
80 | 80 | ||
81 | static void ipc_json_describe_workspace(swayc_t *workspace, json_object *object) { | 81 | static void ipc_json_describe_workspace(swayc_t *workspace, json_object *object) { |