summaryrefslogtreecommitdiff
path: root/src/data.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/data.h')
-rw-r--r--src/data.h18
1 files changed, 17 insertions, 1 deletions
diff --git a/src/data.h b/src/data.h
index 8cc4038..f8086e5 100644
--- a/src/data.h
+++ b/src/data.h
@@ -50,7 +50,11 @@ struct rp_frame
/* For determining the last frame. */
int last_access;
-
+
+ /* Boolean that is set when a frame is
+ `dedicated' (a.k.a. glued) to one window. */
+ unsigned int dedicated;
+
struct list_head node;
};
@@ -237,6 +241,9 @@ struct rp_defaults
int history_size;
char *frame_selectors;
+
+ /* How many frame sets to remember when undoing. */
+ int maxundos;
};
/* Information about a child process. */
@@ -325,4 +332,13 @@ struct rp_hook_db_entry
struct list_head *hook;
};
+typedef struct rp_frame_undo rp_frame_undo;
+struct rp_frame_undo
+{
+ char *frames;
+ rp_screen *screen;
+ struct list_head node;
+};
+
+
#endif /* _RATPOISON_DATA_H */