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
|
|
|
|
|
|
|
/**
|
2014-06-19 14:09:31 +02:00
|
|
|
* Moves the given container in the given direction (TOK_LEFT, TOK_RIGHT,
|
2011-02-14 23:05:20 +01:00
|
|
|
* TOK_UP, TOK_DOWN from cmdparse.l)
|
|
|
|
*
|
|
|
|
*/
|
2014-06-19 14:09:31 +02:00
|
|
|
void tree_move(Con *con, int direction);
|