diff options
author | emersion <contact@emersion.fr> | 2018-04-02 15:24:25 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-02 15:24:25 -0400 |
commit | 0c0cc79282b5ce29616893977aca629f90521988 (patch) | |
tree | e06d46f222487c4d266c09892d1907ce80b69a66 /sway/ipc-json.c | |
parent | 4134407fa967c7f45cd09554b74a15f28974fca5 (diff) | |
parent | c7a6524954578977dd8f806713a258a0947a4951 (diff) |
Merge pull request #1699 from acrisci/seat-fixes
Seat fixes and cleanup
Diffstat (limited to 'sway/ipc-json.c')
-rw-r--r-- | sway/ipc-json.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sway/ipc-json.c b/sway/ipc-json.c index 7c5f7304..3427c8ec 100644 --- a/sway/ipc-json.c +++ b/sway/ipc-json.c @@ -88,11 +88,11 @@ static void ipc_json_describe_output(struct sway_container *container, json_obje json_object_new_string( ipc_json_get_output_transform(wlr_output->transform))); - struct sway_seat *seat = sway_input_manager_get_default_seat(input_manager); + struct sway_seat *seat = input_manager_get_default_seat(input_manager); const char *ws = NULL; if (seat) { struct sway_container *focus = - sway_seat_get_focus_inactive(seat, container); + seat_get_focus_inactive(seat, container); if (focus && focus->type != C_WORKSPACE) { focus = container_parent(focus, C_WORKSPACE); } @@ -139,8 +139,8 @@ json_object *ipc_json_describe_container(struct sway_container *c) { return NULL; } - struct sway_seat *seat = sway_input_manager_get_default_seat(input_manager); - bool focused = sway_seat_get_focus(seat) == c; + struct sway_seat *seat = input_manager_get_default_seat(input_manager); + bool focused = seat_get_focus(seat) == c; json_object *object = json_object_new_object(); |