]> git.sur5r.net Git - i3/i3/blob - src/output.c
explicitly set filenames to $(basename __FILE__)
[i3/i3] / src / output.c
1 #line 2 "output.c"
2 /*
3  * vim:ts=4:sw=4:expandtab
4  *
5  * i3 - an improved dynamic tiling window manager
6  * © 2009-2011 Michael Stapelberg and contributors (see also: LICENSE)
7  *
8  * output.c: Output (monitor) related functions.
9  *
10  */
11 #include "all.h"
12
13 /*
14  * Returns the output container below the given output container.
15  *
16  */
17 Con *output_get_content(Con *output) {
18     Con *child;
19
20     TAILQ_FOREACH(child, &(output->nodes_head), nodes)
21         if (child->type == CT_CON)
22             return child;
23
24     ELOG("output_get_content() called on non-output %p\n", output);
25     assert(false);
26 }