typedef struct Client {
struct Client* next;
+ struct Client* col_next;
+ struct Client* col_prev;
char* name;
Window frame, win;
int state, flags, wspace, x, y, w, h, rel_x, rel_y;
Visual visual;
} Client;
-//typedef struct Column {
-// int width;
-// Client* clients;
-//} Column;
+typedef struct Column {
+ Client* first;
+ Client* last;
+ int width;
+} Column;
typedef struct Workspace {
int monitor;
-// Client* floating;
-// Column columns[MAX_COL_COUNT];
-// int ncolumns;
+ Column columns[MAX_COL_COUNT];
+ int ncolumns;
} Workspace;
typedef struct Monitor {