diff options
Diffstat (limited to 'sway/ipc-json.c')
-rw-r--r-- | sway/ipc-json.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/ipc-json.c b/sway/ipc-json.c index 54d611f2..a29647ed 100644 --- a/sway/ipc-json.c +++ b/sway/ipc-json.c | |||
@@ -340,7 +340,7 @@ static void focus_inactive_children_iterator(struct sway_node *node, | |||
340 | } | 340 | } |
341 | 341 | ||
342 | json_object *ipc_json_describe_node(struct sway_node *node) { | 342 | json_object *ipc_json_describe_node(struct sway_node *node) { |
343 | struct sway_seat *seat = input_manager_get_default_seat(input_manager); | 343 | struct sway_seat *seat = input_manager_get_default_seat(); |
344 | bool focused = seat_get_focus(seat) == node; | 344 | bool focused = seat_get_focus(seat) == node; |
345 | 345 | ||
346 | json_object *object = json_object_new_object(); | 346 | json_object *object = json_object_new_object(); |