]> git.sur5r.net Git - i3/i3/blob - i3bar/include/mode.h
Merge branch 'fix-resize'
[i3/i3] / i3bar / include / mode.h
1 /*
2  * vim:ts=4:sw=4:expandtab
3  *
4  * i3bar - an xcb-based status- and ws-bar for i3
5  * © 2010-2012 Axel Wagner and contributors (see also: LICENSE)
6  *
7  * mode.c: Handle mode-event and show current binding mode in the bar
8  *
9  */
10 #ifndef MODE_H_
11 #define MODE_H_
12
13 #include <xcb/xproto.h>
14
15 #include "common.h"
16
17 /* Name of current binding mode and its render width */
18 struct mode {
19     i3String *name;
20     int width;
21 };
22
23 typedef struct mode mode;
24
25 /*
26  * Start parsing the received json-string
27  *
28  */
29 void parse_mode_json(char *json);
30
31 #endif