diff options
author | Mykyta Holubakha <hilobakho@gmail.com> | 2016-07-21 02:06:34 +0300 |
---|---|---|
committer | Mykyta Holubakha <hilobakho@gmail.com> | 2016-07-21 21:51:20 +0300 |
commit | f52daa26c9bb4984ec857de1b18560a4c47553c8 (patch) | |
tree | 32a7e23a47f812eb107c3ff4a82bf259220e3a56 /sway/ipc-server.c | |
parent | Fix dispatching and assigning events (diff) | |
download | sway-f52daa26c9bb4984ec857de1b18560a4c47553c8.tar.gz sway-f52daa26c9bb4984ec857de1b18560a4c47553c8.tar.zst sway-f52daa26c9bb4984ec857de1b18560a4c47553c8.zip |
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) { | |||
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); |