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