i3
|
#include <config.h>
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'. | |
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().
void tree_move | ( | Con * | con, |
direction_t | direction ) |
Moves the given container in the given direction.
Definition at line 259 of file move.c.
References AFTER, attach_to_workspace(), BEFORE, CF_GLOBAL, CF_OUTPUT, con_descend_direction(), con_force_split_parents_redraw(), con_fullscreen_permits_focusing(), con_get_workspace(), con_inside_floating(), con_is_floating(), con_is_leaf(), con_num_children(), con_orientation(), con_parent_with_orientation(), croot, D_LEFT, D_UP, Con::deco_render_params, DLOG, ewmh_update_wm_desktop(), floating_disable(), FREE, Con::fullscreen_mode, insert_con_into(), ipc_send_window_event(), L_DEFAULT, Con::layout, LOG, move_to_output_directed(), orientation_from_direction(), Con::parent, TAILQ_NEXT, TAILQ_PREV, TAILQ_SWAP, tree_flatten(), Con::type, and ws_force_orientation().
Referenced by cmd_move_direction(), and tiling_drag().