i3
move.h
Go to the documentation of this file.
1 /*
2  * vim:ts=4:sw=4:expandtab
3  *
4  * i3 - an improved dynamic tiling window manager
5  * © 2009 Michael Stapelberg and contributors (see also: LICENSE)
6  *
7  * move.c: Moving containers into some direction.
8  *
9  */
10 #pragma once
11 
12 #include <config.h>
13 
19 void tree_move(Con *con, int direction);
20 
21 typedef enum { BEFORE,
23 
29 void insert_con_into(Con *con, Con *target, position_t position);
void tree_move(Con *con, int direction)
Moves the given container in the given direction (TOK_LEFT, TOK_RIGHT, TOK_UP, TOK_DOWN from cmdparse...
Definition: move.c:250
position_t
Definition: move.h:21
void insert_con_into(Con *con, Con *target, position_t position)
This function detaches &#39;con&#39; from its parent and inserts it either before or after &#39;target&#39;...
Definition: move.c:65
Definition: move.h:21
Definition: move.h:22
A &#39;Con&#39; represents everything from the X11 root window down to a single X11 window.
Definition: data.h:613