summaryrefslogtreecommitdiff
path: root/sway/ipc-json.c
diff options
context:
space:
mode:
authorTony Crisci <[email protected]>2018-04-02 08:49:38 -0400
committerTony Crisci <[email protected]>2018-04-02 08:49:38 -0400
commit0828c772514a85080c53ecade0b8b400314d5b03 (patch)
tree4e7fcb26ea1ebda57128eeb0ba4f9c79c7afbdb4 /sway/ipc-json.c
parente677c5b204971af00d71f9a50a89206d01b46a36 (diff)
rename input-manager 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 1b906e6f..3427c8ec 100644
--- a/sway/ipc-json.c
+++ b/sway/ipc-json.c
@@ -88,7 +88,7 @@ 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 =
@@ -139,7 +139,7 @@ json_object *ipc_json_describe_container(struct sway_container *c) {
return NULL;
}
- struct sway_seat *seat = sway_input_manager_get_default_seat(input_manager);
+ 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();