diff options
author | Mykyta Holubakha <[email protected]> | 2016-07-21 02:06:34 +0300 |
---|---|---|
committer | Mykyta Holubakha <[email protected]> | 2016-07-21 21:51:20 +0300 |
commit | f52daa26c9bb4984ec857de1b18560a4c47553c8 (patch) | |
tree | 32a7e23a47f812eb107c3ff4a82bf259220e3a56 /sway/ipc-server.c | |
parent | e5c7b019ffd952010bd8ae25a436c96f223fbb2d (diff) |
Unite describe_view and describe_window
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) { 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); |