]> git.sur5r.net Git - i3/i3/blob - src/output.c
Merge branch 'tree' into next
[i3/i3] / src / output.c
1 /*
2  * vim:ts=4:sw=4:expandtab
3  */
4
5 #include "all.h"
6
7 /*
8  * Returns the output container below the given output container.
9  *
10  */
11 Con *output_get_content(Con *output) {
12     Con *child;
13
14     TAILQ_FOREACH(child, &(output->nodes_head), nodes)
15         if (child->type == CT_CON)
16             return child;
17
18     ELOG("output_get_content() called on non-output %p\n", output);
19     assert(false);
20 }