diff options
author | Thomas White <taw@bitwiz.org.uk> | 2015-06-10 10:48:56 +0200 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2015-06-10 10:48:56 +0200 |
commit | 4b34db513bf93b1a425fb7567d220ba751092b17 (patch) | |
tree | 2d7c69a48ac83cd967452fe2058187f684b49297 /src/frame.h | |
parent | 5b78853e0bbecd26c43f9cab7c4f61867644f83d (diff) |
Clear up unused frames
Diffstat (limited to 'src/frame.h')
-rw-r--r-- | src/frame.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/frame.h b/src/frame.h index 8f70c33..68d8649 100644 --- a/src/frame.h +++ b/src/frame.h @@ -1,7 +1,7 @@ /* * frame.h * - * Copyright © 2013-2014 Thomas White <taw@bitwiz.org.uk> + * Copyright © 2013-2015 Thomas White <taw@bitwiz.org.uk> * * This file is part of Colloquium. * @@ -56,6 +56,7 @@ struct frame SCBlock *scblocks; struct wrap_line *boxes; /* The unwrapped boxes */ + int visited; int n_lines; int max_lines; @@ -95,5 +96,6 @@ extern struct frame *frame_new(void); extern struct frame *add_subframe(struct frame *fr); extern void renew_frame(struct frame *fr); extern void show_hierarchy(struct frame *fr, const char *t); +extern void delete_subframe(struct frame *top, struct frame *fr); #endif /* FRAME_H */ |