8 typedef struct i3_output i3_output;
10 SLIST_HEAD(outputs_head, i3_output);
11 struct outputs_head *outputs;
14 * Start parsing the received json-string
17 void parse_outputs_json(char* json);
20 * Initiate the output-list
26 * Returns the output with the given name
29 i3_output* get_output_by_name(char* name);
32 char* name; /* Name of the output */
33 bool active; /* If the output is active */
34 int ws; /* The number of the currently visible ws */
35 rect rect; /* The rect (relative to the root-win) */
37 xcb_window_t bar; /* The id of the bar of the output */
38 xcb_gcontext_t bargc; /* The graphical context of the bar */
40 struct ws_head *workspaces; /* The workspaces on this output */
42 SLIST_ENTRY(i3_output) slist; /* Pointer for the SLIST-Macro */