all repos — openbox @ 1369b32df813bfad0a19ec77751c2d3594e944c6

openbox fork - make it a bit more like ryudo

use the member var _tree
Dana Jansens danakj@orodu.net
commit

1369b32df813bfad0a19ec77751c2d3594e944c6

parent

35c3e996b57adf77b78eb756b20a15646961a74c

1 files changed, 3 insertions(+), 3 deletions(-)

jump to
M src/bindings.ccsrc/bindings.cc

@@ -153,12 +153,12 @@ void OBBindings::assimilate(BindingTree *node)

{ BindingTree *a, *b, *tmp, *last; - if (!parent->first_child) { + if (!_tree.first_child) { // there are no nodes at this level yet - parent->first_child = node; + _tree.first_child = node; return; } else { - a = parent->first_child; + a = _tree.first_child; last = a; b = node; while (a->first_child) {