summaryrefslogtreecommitdiff
path: root/sway/ipc-server.c
diff options
context:
space:
mode:
authorMykyta Holubakha <[email protected]>2016-07-21 02:06:34 +0300
committerMykyta Holubakha <[email protected]>2016-07-21 21:51:20 +0300
commitf52daa26c9bb4984ec857de1b18560a4c47553c8 (patch)
tree32a7e23a47f812eb107c3ff4a82bf259220e3a56 /sway/ipc-server.c
parente5c7b019ffd952010bd8ae25a436c96f223fbb2d (diff)
Unite describe_view and describe_window
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);