summaryrefslogtreecommitdiff
path: root/sway/ipc-json.c
diff options
context:
space:
mode:
authorTony Crisci <[email protected]>2018-04-02 08:45:37 -0400
committerTony Crisci <[email protected]>2018-04-02 08:45:37 -0400
commite677c5b204971af00d71f9a50a89206d01b46a36 (patch)
treefa94a13e95119bdd3083fb7839889f2ce3a0fca0 /sway/ipc-json.c
parent122b96abed9955f78e3f157167d34312f5bb551d (diff)
rename seat functions
Diffstat (limited to 'sway/ipc-json.c')
-rw-r--r--sway/ipc-json.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/ipc-json.c b/sway/ipc-json.c
index 7c5f7304..1b906e6f 100644
--- a/sway/ipc-json.c
+++ b/sway/ipc-json.c
@@ -92,7 +92,7 @@ static void ipc_json_describe_output(struct sway_container *container, json_obje
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);
}
@@ -140,7 +140,7 @@ json_object *ipc_json_describe_container(struct sway_container *c) {
}
struct sway_seat *seat = sway_input_manager_get_default_seat(input_manager);
- bool focused = sway_seat_get_focus(seat) == c;
+ bool focused = seat_get_focus(seat) == c;
json_object *object = json_object_new_object();