client_t *client; /* NULL except for leaves */
};
-typedef struct node_list_t node_list_t;
-struct node_list_t {
- node_t *node;
- bool latest;
- node_list_t *prev;
- node_list_t *next;
-};
-
-typedef struct {
- node_list_t *head;
- node_list_t *tail;
-} focus_history_t;
-
typedef struct desktop_t desktop_t;
struct desktop_t {
char name[SMALEN];
layout_t layout;
node_t *root;
node_t *focus;
- focus_history_t *history;
desktop_t *prev;
desktop_t *next;
int window_gap;
int bottom_padding;
int left_padding;
desktop_t *desk;
- desktop_t *last_desk;
desktop_t *desk_head;
desktop_t *desk_tail;
monitor_t *prev;
node_t *node;
} coordinates_t;
+typedef struct history_t history_t;
+struct history_t {
+ coordinates_t loc;
+ bool latest;
+ history_t *prev;
+ history_t *next;
+};
+
+typedef struct stack_t stack_t;
+struct stack_t {
+ node_t *node;
+ stack_t *prev;
+ stack_t *next;
+};
+
typedef struct {
char name[SMALEN];
} rule_cause_t;