4 * i3 - an improved dynamic tiling window manager
6 * © 2009 Michael Stapelberg and contributors
8 * See file LICENSE for license information.
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.
24 int container_mode(Container *con, bool for_frame);