From f8a94f2f4b429c75940d7451d3e7d75dfd4b66d3 Mon Sep 17 00:00:00 2001
From: Zandr Martin <zandrmartin@gmail.com>
Date: Mon, 4 Jul 2016 13:46:19 -0500
Subject: [PATCH] fix typo in ipc-json.c

---
 sway/ipc-json.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sway/ipc-json.c b/sway/ipc-json.c
index 46caad9c..69412023 100644
--- a/sway/ipc-json.c
+++ b/sway/ipc-json.c
@@ -319,7 +319,7 @@ json_object *ipc_json_describe_container_recursive(swayc_t *c) {
 				json_object_array_add(scratchpad_json, ipc_json_describe_container_recursive(scratchpad->items[i]));
 			}
 		}
-		json_object_object_add(object, "scratchpad", unmanaged);
+		json_object_object_add(object, "scratchpad", scratchpad_json);
 	}
 
 	return object;