diff options
author | Mykyta Holubakha <hilobakho@gmail.com> | 2016-07-19 23:28:06 +0300 |
---|---|---|
committer | Mykyta Holubakha <hilobakho@gmail.com> | 2016-07-21 21:51:20 +0300 |
commit | 2029fef6b8ce7d9e332bd616bb9c6a76fa404c06 (patch) | |
tree | b1f7493a8633aa3249814a3aaa31057fa43f3bf6 /sway/ipc-server.c | |
parent | 976e48d79f46fbab02d7af0ae1b6804018774a63 (diff) |
More progress on window events
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 1dc3ab79..24df4649 100644 --- a/sway/ipc-server.c +++ b/sway/ipc-server.c @@ -564,7 +564,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_container(window)); + json_object_object_add(obj, "container", ipc_json_describe_window(window)); } const char *json_string = json_object_to_json_string(obj); |