i3
move.h
Go to the documentation of this file.
1/*
2 * vim:ts=4:sw=4:expandtab
3 *
4 * i3 - an improved 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
18void tree_move(Con *con, direction_t direction);
19
25void insert_con_into(Con *con, Con *target, position_t position);
position_t
Definition data.h:63
direction_t
Definition data.h:56
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 move.c:65
void tree_move(Con *con, direction_t direction)
Moves the given container in the given direction.
Definition move.c:259
A 'Con' represents everything from the X11 root window down to a single X11 window.
Definition data.h:643