X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=src%2Fmove.c;h=5bff3dae5030bc844d915ac8a14d28c71b34876b;hb=e906cdad669fe612de0ad8468b29b10199f349d1;hp=e8620c247b0339d4b0fe529ef97108816ad703c9;hpb=3ccaf11eabffe4b5873cfc7987315f590c5a9300;p=i3%2Fi3 diff --git a/src/move.c b/src/move.c index e8620c24..5bff3dae 100644 --- a/src/move.c +++ b/src/move.c @@ -9,9 +9,6 @@ */ #include "all.h" -typedef enum { BEFORE, - AFTER } position_t; - /* * Returns the lowest container in the tree that has both a and b as descendants. * @@ -65,7 +62,7 @@ static bool is_focused_descendant(Con *con, Con *ancestor) { * after 'target'. * */ -static void insert_con_into(Con *con, Con *target, position_t position) { +void insert_con_into(Con *con, Con *target, position_t position) { Con *parent = target->parent; /* We need to preserve the old con->parent. While it might still be used to * insert the entry before/after it, we call the on_remove_child callback