mirror of
https://github.com/swaywm/sway.git
synced 2025-11-05 13:29:51 -05:00
remove old focus member
This commit is contained in:
parent
ce3a1b3922
commit
93084c9cf8
6 changed files with 19 additions and 22 deletions
|
|
@ -74,8 +74,8 @@ static void ipc_json_describe_output(swayc_t *container, json_object *object) {
|
|||
json_object_object_add(object, "refresh", json_object_new_int(wlr_output->refresh));
|
||||
json_object_object_add(object, "transform",
|
||||
json_object_new_string(ipc_json_get_output_transform(wlr_output->transform)));
|
||||
json_object_object_add(object, "current_workspace",
|
||||
(container->focused) ? json_object_new_string(container->focused->name) : NULL);
|
||||
// TODO WLR need to set "current_workspace" to the currently focused
|
||||
// workspace in a way that makes sense with multiseat
|
||||
}
|
||||
|
||||
static void ipc_json_describe_workspace(swayc_t *workspace, json_object *object) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue