]> git.sur5r.net Git - i3/i3/blobdiff - contrib/dump-asy.pl
Merge pull request #3176 from orestisf1993/dump-asy-marks
[i3/i3] / contrib / dump-asy.pl
index c183db338a461a8ac2422be5a995cc900fb72330..2c244752695cf645bc1b16adde28c8cf3795f791 100755 (executable)
@@ -56,7 +56,8 @@ sub dump_node {
     if (!defined($n->{window})) {
         $type = $n->{layout};
     }
-    my $name = qq|``$na'' ($type)|;
+    my $marks = $n->{marks} ? ' [' . join('][', @{$n->{marks}}) . ']' : '';
+    my $name = qq|``$na'' ($type)$marks|;
 
     print $tmp "TreeNode n" . $n->{id} . " = makeNode(";