]> git.sur5r.net Git - i3/i3/blob - i3bar/include/workspaces.h
Added Unicode-Support
[i3/i3] / i3bar / include / workspaces.h
1 #ifndef WORKSPACES_H_
2 #define WORKSPACES_H_
3
4 #include <xcb/xproto.h>
5
6 #include "common.h"
7
8 typedef struct i3_ws i3_ws;
9
10 TAILQ_HEAD(ws_head, i3_ws);
11
12 void parse_workspaces_json();
13 void free_workspaces();
14
15 struct i3_ws {
16     int                num;
17     char               *name;
18     xcb_char2b_t       *ucs2_name;
19     int                name_glyphs;
20     int                name_width;
21     bool               visible;
22     bool               focused;
23     bool               urgent;
24     rect               rect;
25     struct i3_output   *output;
26
27     TAILQ_ENTRY(i3_ws) tailq;
28 };
29
30 #endif