2011-02-14 23:05:20 +01:00
|
|
|
/*
|
|
|
|
* vim:ts=4:sw=4:expandtab
|
2011-10-25 22:19:38 +02:00
|
|
|
*
|
|
|
|
* i3 - an improved dynamic tiling window manager
|
2015-04-04 02:17:56 +02:00
|
|
|
* © 2009 Michael Stapelberg and contributors (see also: LICENSE)
|
2011-10-25 22:19:38 +02:00
|
|
|
*
|
|
|
|
* move.c: Moving containers into some direction.
|
|
|
|
*
|
2011-02-14 23:05:20 +01:00
|
|
|
*/
|
2013-12-29 03:11:50 +01:00
|
|
|
#pragma once
|
2011-02-14 23:05:20 +01:00
|
|
|
|
2016-10-11 09:13:35 +02:00
|
|
|
#include <config.h>
|
|
|
|
|
2011-02-14 23:05:20 +01:00
|
|
|
/**
|
2018-09-14 18:17:47 +02:00
|
|
|
* Moves the given container in the given direction
|
2011-02-14 23:05:20 +01:00
|
|
|
*
|
|
|
|
*/
|
2018-09-14 18:17:47 +02:00
|
|
|
void tree_move(Con *con, direction_t direction);
|
2017-09-13 02:54:40 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* 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);
|