]> git.sur5r.net Git - i3/i3/blobdiff - include/move.h
Merge branch 'next' into master
[i3/i3] / include / move.h
index 64b12b80cc7b937c8c2773989fa312a41b43adda..df644a6b8b7b217b1c3dfd8b433a00e5d94621eb 100644 (file)
  *
  */
 void tree_move(Con *con, int direction);
+
+typedef enum { BEFORE,
+               AFTER } position_t;
+
+/**
+ * This function detaches 'con' from its parent and inserts it either before or
+ * after 'target'.
+ *
+ */
+void insert_con_into(Con *con, Con *target, position_t position);