Files
debian
docs
i3-config-wizard
i3-input
i3-msg
include
i3
all.h
assignments.h
atoms.xmacro
click.h
cmdparse.h
con.h
config.h
data.h
debug.h
ewmh.h
floating.h
handlers.h
i3.h
ipc.h
load_layout.h
log.h
manage.h
match.h
move.h
output.h
queue.h
randr.h
render.h
resize.h
sighandler.h
tree.h
util.h
window.h
workspace.h
x.h
xcb.h
xcb_compat.h
xcursor.h
xinerama.h
man
render-tree
src
testcases
tests
website
yajl-fallback
.gitignore
CMDMODE
DEPENDS
GOALS
LICENSE
Makefile
PACKAGE-MAINTAINER
README.tree
RELEASE-NOTES-3.a-bf1
RELEASE-NOTES-3.b
RELEASE-NOTES-3.c
RELEASE-NOTES-3.d
RELEASE-NOTES-tree-pr1
RELEASE-NOTES-tree-pr2
RELEASE-NOTES-tree-pr3
TODO
common.mk
dump-asy.pl
gtk-tree-watch.pl
i3-wsbar
i3.config
i3.desktop
i3.welcome
logo.svg
pseudo-doc.doxygen
i3/include/move.h
Michael Stapelberg 26a416e016 refactor tree_move() into src/move.c, change config (!), change testcase
Due to lots of cases which were added and added to tree_move(), the function
was not really easy to understand. For this refactoring, I wrote tree_move()
from scratch, thinking about (hopefully) all cases. The testsuite still passes.

The move command also has different parameters now. Instead of the hard to
understand 'before v' stuff, we use 'move [left|right|up|down]'.
2011-02-14 23:05:20 +01:00

16 lines
231 B
C

/*
* vim:ts=4:sw=4:expandtab
*/
#ifndef _MOVE_H
#define _MOVE_H
/**
* Moves the current container in the given direction (TOK_LEFT, TOK_RIGHT,
* TOK_UP, TOK_DOWN from cmdparse.l)
*
*/
void tree_move(int direction);
#endif