i3/i3bar/include/workspaces.h
Axel Wagner 7d7867acce Be more strict with encapsulation
I.e. move the xcb-event-handling into xcb.c and the
child-process-communications into newly created child.c.
Also change some includes.
2010-08-05 05:09:59 +02:00

27 lines
485 B
C

#ifndef WORKSPACES_H_
#define WORKSPACES_H_
#include "common.h"
typedef struct i3_ws i3_ws;
TAILQ_HEAD(ws_head, i3_ws);
void parse_workspaces_json();
void free_workspaces();
struct i3_ws {
int num;
char *name;
int name_width;
bool visible;
bool focused;
bool urgent;
rect rect;
struct i3_output *output;
TAILQ_ENTRY(i3_ws) tailq;
};
#endif