i3
move.h File Reference
#include <config.h>
Include dependency graph for move.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void tree_move (Con *con, direction_t direction)
 Moves the given container in the given direction.
 
void insert_con_into (Con *con, Con *target, position_t position)
 This function detaches 'con' from its parent and inserts it either before or after 'target'.
 

Function Documentation

◆ insert_con_into()

void insert_con_into ( Con * con,
Con * target,
position_t position )

This function detaches 'con' from its parent and inserts it either before or after 'target'.

Definition at line 65 of file move.c.

References AFTER, BEFORE, CALL, child_containing_con_recursively(), con_attach(), con_detach(), con_fix_percent(), DLOG, ELOG, focused, is_focused_descendant(), lowest_common_ancestor(), Con::parent, Con::percent, TAILQ_FOREACH, TAILQ_INSERT_AFTER, TAILQ_INSERT_BEFORE, TAILQ_INSERT_HEAD, TAILQ_INSERT_TAIL, TAILQ_PREV, TAILQ_REMOVE, Con::type, and workspace_attach_to().

Referenced by floating_disable(), tiling_drag(), and tree_move().

Here is the call graph for this function:

◆ tree_move()