]> git.sur5r.net Git - i3/i3/blob - include/container.h
use decimal coordinates in debug message
[i3/i3] / include / container.h
1 /*
2  * vim:ts=8:expandtab
3  *
4  * i3 - an improved dynamic tiling window manager
5  *
6  * © 2009 Michael Stapelberg and contributors
7  *
8  * See file LICENSE for license information.
9  *
10  */
11 #include "data.h"
12
13 #ifndef _CONTAINER_H
14 #define _CONTAINER_H
15
16 /**
17  * Returns the mode of the given container (or MODE_DEFAULT if a NULL pointer
18  * was passed in order to save a few explicit checks in other places). If
19  * for_frame was set to true, the special case of having exactly one client
20  * in a container is handled so that MODE_DEFAULT is returned. For some parts
21  * of the rendering, this is interesting, other parts need the real mode.
22  *
23  */
24 int container_mode(Container *con, bool for_frame);
25
26 #endif