i3
|
#include "all.h"
Go to the source code of this file.
Macros | |
#define | I3__FILE__ "move.c" |
Enumerations | |
enum | position_t { BEFORE, AFTER } |
Functions | |
static void | insert_con_into (Con *con, Con *target, position_t position) |
static void | attach_to_workspace (Con *con, Con *ws) |
void | tree_move (int direction) |
Moves the current container in the given direction (TOK_LEFT, TOK_RIGHT, TOK_UP, TOK_DOWN from cmdparse.l) More... | |
enum position_t |
Definition at line 72 of file move.c.
References CALL, con_detach(), con_fix_percent(), focused, Con::parent, Con::percent, and TAILQ_INSERT_TAIL.
Referenced by tree_move().
|
static |
Definition at line 21 of file move.c.
References AFTER, BEFORE, CALL, con_attach(), con_detach(), con_fix_percent(), DLOG, focused, Con::parent, Con::percent, TAILQ_INSERT_AFTER, TAILQ_INSERT_BEFORE, TAILQ_INSERT_HEAD, Con::type, and workspace_attach_to().
Referenced by tree_move().
void tree_move | ( | int | direction | ) |
Moves the current container in the given direction (TOK_LEFT, TOK_RIGHT, TOK_UP, TOK_DOWN from cmdparse.l)
Definition at line 95 of file move.c.
References AFTER, attach_to_workspace(), BEFORE, con_descend_focused(), con_focus(), con_fullscreen_permits_focusing(), con_get_workspace(), con_inside_floating(), con_is_floating(), con_is_leaf(), con_num_children(), con_parent_with_orientation(), croot, D_LEFT, D_RIGHT, D_UP, Con::deco_render_params, DLOG, floating_disable(), focused, FREE, HORIZ, insert_con_into(), LOG, Con::parent, TAILQ_INSERT_HEAD, TAILQ_NEXT, TAILQ_PREV, TAILQ_REMOVE, TAILQ_SWAP, tree_flatten(), Con::type, VERT, and ws_force_orientation().
Referenced by cmd_move_direction().