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