]> git.neil.brown.name Git - edlib.git/commitdiff
Render-attach functions no-longer need the pane_point.
authorNeilBrown <neil@brown.name>
Wed, 25 Nov 2015 23:21:11 +0000 (10:21 +1100)
committerNeilBrown <neil@brown.name>
Wed, 25 Nov 2015 23:21:11 +0000 (10:21 +1100)
So discard it.

Signed-off-by: NeilBrown <neil@brown.name>
core-pane.c
render-complete.c
render-lines.c

index 719f80c3b0969d97a98df4bc85aa6cdf8df33616..3a8f3f76226336d27c39c88152badcce471d744c 100644 (file)
@@ -399,7 +399,6 @@ struct pane *render_attach(char *name, struct pane *parent)
        sprintf(buf, "render-%s-attach", name);
        ci.key = buf;
        ci.focus = parent;
-       ci.pointp = pane_point(parent);
        ret = key_lookup(pane2ed(parent)->commands, &ci);
        if (ret)
                return ci.focus;
index 6ee3586ef9af809e3162c262c32e6d9762a6fcc7..75c186d21a3a3d6f23297e0e8e1cdb1968bfb8f9 100644 (file)
@@ -139,7 +139,6 @@ DEF_CMD(complete_clone)
        struct pane *parent = ci->focus;
        struct pane *p = ci->home, *c;
 
-       ci->pointp = pane_point(parent);
        complete_attach.func(ci);
        c = pane_child(p);
        if (c)
index 1ca8d447573fdbc9a968c6cf431e4cb7eb85b2b8..bbc4570d667917e362df7158e0863aacd80f532b 100644 (file)
@@ -912,7 +912,6 @@ DEF_CMD(render_lines_clone)
        struct pane *parent = ci->focus;
        struct pane *p = ci->home, *c;
 
-       ci->pointp = pane_point(parent);
        render_lines_attach.func(ci);
        c = pane_child(p);
        if (c)