2010-07-22 01:15:18 +02:00
|
|
|
#ifndef WORKSPACES_H_
|
|
|
|
#define WORKSPACES_H_
|
|
|
|
|
|
|
|
#include "common.h"
|
|
|
|
#include "outputs.h"
|
|
|
|
|
|
|
|
typedef struct i3_ws_t i3_ws;
|
|
|
|
|
|
|
|
i3_ws* workspaces;
|
|
|
|
|
2010-07-23 04:43:43 +02:00
|
|
|
void parse_workspaces_json();
|
2010-07-22 01:15:18 +02:00
|
|
|
void free_workspaces();
|
|
|
|
|
|
|
|
struct i3_ws_t {
|
|
|
|
int num;
|
|
|
|
char* name;
|
2010-07-27 02:16:49 +02:00
|
|
|
int name_width;
|
2010-07-22 01:15:18 +02:00
|
|
|
bool visible;
|
|
|
|
bool focused;
|
|
|
|
bool urgent;
|
|
|
|
rect rect;
|
|
|
|
i3_output* output;
|
|
|
|
|
|
|
|
i3_ws* next;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|