summaryrefslogtreecommitdiffstats
path: root/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2012-08-21 10:00:33 +0000
committerNicholas Marriott <nicm@openbsd.org>2012-08-21 10:00:33 +0000
commit58e8e0eac841d6d337de3da4e2f81665c3cd3faa (patch)
tree512efdef7e6cc33d659c2de5fdeb0c2a75eb71c4 /tmux.h
parenta1e4908ed7d14c5b406541144017d57db4750c56 (diff)
Fix up window reference counting and don't crash if the rename timer
fires while the window is dead but still referenced. Fixes problem reported by Michael Scholz.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tmux.h b/tmux.h
index 10d4f03d..449f0676 100644
--- a/tmux.h
+++ b/tmux.h
@@ -2130,6 +2130,7 @@ struct window_pane *window_pane_find_down(struct window_pane *);
struct window_pane *window_pane_find_left(struct window_pane *);
struct window_pane *window_pane_find_right(struct window_pane *);
void window_set_name(struct window *, const char *);
+void window_remove_ref(struct window *);
void winlink_clear_flags(struct winlink *);
void window_mode_attrs(struct grid_cell *, struct options *);