X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=gtk-tree-watch.pl;h=f15d0c1814eca7e73a13133b08f29538ca42c44f;hb=f32cc6f4ae3f92c63d2f738b69d84269be8549ab;hp=b82d25d25c2d6fb2ce3836171c65873e69135861;hpb=161afa3d01c124fed87391cad09b58748f455e62;p=i3%2Fi3 diff --git a/gtk-tree-watch.pl b/gtk-tree-watch.pl index b82d25d2..f15d0c18 100755 --- a/gtk-tree-watch.pl +++ b/gtk-tree-watch.pl @@ -116,7 +116,7 @@ my $layout_container = Gtk2::HBox->new(0, 0); $layout_sw->add_with_viewport($layout_container); sub copy_tree { - my $tree = $i3->get_workspaces->recv; + my $tree = $i3->get_tree->recv; # convert the tree back to json so we only rebuild/redraw when the tree is changed my $json = encode_json($tree);