Migrate to queue.h

This commit is contained in:
Axel Wagner
2010-07-30 03:11:54 +02:00
parent 654b51fef1
commit 43c057f19a
8 changed files with 96 additions and 98 deletions

View File

@ -4,24 +4,24 @@
#include "common.h"
#include "outputs.h"
typedef struct i3_ws_t i3_ws;
typedef struct i3_ws i3_ws;
i3_ws* workspaces;
TAILQ_HEAD(ws_head, i3_ws);
void parse_workspaces_json();
void free_workspaces();
struct i3_ws_t {
int num;
char* name;
int name_width;
bool visible;
bool focused;
bool urgent;
rect rect;
i3_output* output;
struct i3_ws {
int num;
char *name;
int name_width;
bool visible;
bool focused;
bool urgent;
rect rect;
struct i3_output *output;
i3_ws* next;
TAILQ_ENTRY(i3_ws) tailq;
};
#endif