File: container.h

package info (click to toggle)
i3-wm 3.e-bf1-2
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 1,384 kB
  • ctags: 814
  • sloc: ansic: 8,945; yacc: 502; makefile: 195; lex: 154; perl: 137
file content (26 lines) | stat: -rw-r--r-- 696 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*
 * vim:ts=8:expandtab
 *
 * i3 - an improved dynamic tiling window manager
 *
 * © 2009 Michael Stapelberg and contributors
 *
 * See file LICENSE for license information.
 *
 */
#include "data.h"

#ifndef _CONTAINER_H
#define _CONTAINER_H

/**
 * Returns the mode of the given container (or MODE_DEFAULT if a NULL pointer
 * was passed in order to save a few explicit checks in other places). If
 * for_frame was set to true, the special case of having exactly one client
 * in a container is handled so that MODE_DEFAULT is returned. For some parts
 * of the rendering, this is interesting, other parts need the real mode.
 *
 */
int container_mode(Container *con, bool for_frame);

#endif