aboutsummaryrefslogtreecommitdiff
path: root/sway/ipc-json.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2016-09-19 06:53:29 +0900
committerGitHub <noreply@github.com>2016-09-19 06:53:29 +0900
commitd98c26d0edbab66042ff3da0348d339fd857f99d (patch)
tree78146ff883ee17c5f56610cce67ae658a2d2412d /sway/ipc-json.c
parent043640820f4fdb7ea00bde6676b3b059f9b05c42 (diff)
parent0516dba3f68b47c0c49aa236bbba7c3c6b0b8dfd (diff)
Merge pull request #909 from zandrmartin/grab-focused
implement "focused container" option 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",