Codebase list i3-gaps / 7610fdbf-f4ec-49f0-8004-47f3945d1a89/main include / move.h
7610fdbf-f4ec-49f0-8004-47f3945d1a89/main

Tree @7610fdbf-f4ec-49f0-8004-47f3945d1a89/main (Download .tar.gz)

move.h @7610fdbf-f4ec-49f0-8004-47f3945d1a89/mainraw · history · blame

/*
 * vim:ts=4:sw=4:expandtab
 *
 * i3 - an improved dynamic tiling window manager
 * © 2009 Michael Stapelberg and contributors (see also: LICENSE)
 *
 * move.c: Moving containers into some direction.
 *
 */
#pragma once

#include <config.h>

/**
 * Moves the given container in the given direction
 *
 */
void tree_move(Con *con, direction_t direction);

/**
 * 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);