summaryrefslogtreecommitdiff
path: root/sway/ipc-json.c
diff options
context:
space:
mode:
authorZandr Martin <[email protected]>2016-09-18 16:41:08 -0500
committerZandr Martin <[email protected]>2016-09-18 16:41:08 -0500
commit0516dba3f68b47c0c49aa236bbba7c3c6b0b8dfd (patch)
tree78146ff883ee17c5f56610cce67ae658a2d2412d /sway/ipc-json.c
parent043640820f4fdb7ea00bde6676b3b059f9b05c42 (diff)
implement "focused container" feature for swaygrab
Diffstat (limited to 'sway/ipc-json.c')
-rw-r--r--sway/ipc-json.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sway/ipc-json.c b/sway/ipc-json.c
index 5d10ff59..1ca7f9ce 100644
--- a/sway/ipc-json.c
+++ b/sway/ipc-json.c
@@ -169,7 +169,6 @@ static void ipc_json_describe_view(swayc_t *c, json_object *object) {
json_object_object_add(object, "percent", (percent > 0) ? json_object_new_double(percent) : NULL);
// TODO: make urgency actually work once Sway supports it
json_object_object_add(object, "urgent", json_object_new_boolean(false));
-
json_object_object_add(object, "layout",
(strcmp(layout, "null") == 0) ? NULL : json_object_new_string(layout));
json_object_object_add(object, "last_split_layout",