2011-02-14 17:05:20 -05:00
|
|
|
/*
|
|
|
|
* vim:ts=4:sw=4:expandtab
|
2011-10-25 16:19:38 -04:00
|
|
|
*
|
|
|
|
* i3 - an improved dynamic tiling window manager
|
2015-04-03 20:17:56 -04:00
|
|
|
* © 2009 Michael Stapelberg and contributors (see also: LICENSE)
|
2011-10-25 16:19:38 -04:00
|
|
|
*
|
|
|
|
* move.c: Moving containers into some direction.
|
|
|
|
*
|
2011-02-14 17:05:20 -05:00
|
|
|
*/
|
2013-12-28 21:11:50 -05:00
|
|
|
#pragma once
|
2011-02-14 17:05:20 -05:00
|
|
|
|
|
|
|
/**
|
2014-06-19 08:09:31 -04:00
|
|
|
* Moves the given container in the given direction (TOK_LEFT, TOK_RIGHT,
|
2011-02-14 17:05:20 -05:00
|
|
|
* TOK_UP, TOK_DOWN from cmdparse.l)
|
|
|
|
*
|
|
|
|
*/
|
2014-06-19 08:09:31 -04:00
|
|
|
void tree_move(Con *con, int direction);
|