aboutsummaryrefslogtreecommitdiff
path: root/sway/ipc-server.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/ipc-server.c')
-rw-r--r--sway/ipc-server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/ipc-server.c b/sway/ipc-server.c
index 8110bd41..305b6944 100644
--- a/sway/ipc-server.c
+++ b/sway/ipc-server.c
@@ -566,7 +566,7 @@ void ipc_event_window(swayc_t *window, const char *change) {
if (strcmp(change, "close") == 0 || !window) {
json_object_object_add(obj, "container", NULL);
} else {
- json_object_object_add(obj, "container", ipc_json_describe_window(window));
+ json_object_object_add(obj, "container", ipc_json_describe_container(window));
}
const char *json_string = json_object_to_json_string(obj);