diff options
Diffstat (limited to 'sway/ipc-server.c')
-rw-r--r-- | sway/ipc-server.c | 2 |
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) { | |||
566 | if (strcmp(change, "close") == 0 || !window) { | 566 | if (strcmp(change, "close") == 0 || !window) { |
567 | json_object_object_add(obj, "container", NULL); | 567 | json_object_object_add(obj, "container", NULL); |
568 | } else { | 568 | } else { |
569 | json_object_object_add(obj, "container", ipc_json_describe_window(window)); | 569 | json_object_object_add(obj, "container", ipc_json_describe_container(window)); |
570 | } | 570 | } |
571 | 571 | ||
572 | const char *json_string = json_object_to_json_string(obj); | 572 | const char *json_string = json_object_to_json_string(obj); |