summaryrefslogtreecommitdiffstats
path: root/tmux.h
diff options
context:
space:
mode:
authornicm <nicm>2024-03-21 11:30:42 +0000
committernicm <nicm>2024-03-21 11:30:42 +0000
commit6c0067c10360880334afa50815b880d04edcbf42 (patch)
tree78625f90a92275f9de0cbdda102d5526a82302c9 /tmux.h
parent5458cb28502dbdce933827853c31b276b51f3741 (diff)
Do not notify window-layout-changed if the window is about to be
destroyed (since it may have been freed by the time the notify happens), from Romain Francoise in GitHub issue 3860.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tmux.h b/tmux.h
index e6516a72..f61d1032 100644
--- a/tmux.h
+++ b/tmux.h
@@ -3021,7 +3021,7 @@ struct window_pane *window_add_pane(struct window *, struct window_pane *,
void window_resize(struct window *, u_int, u_int, int, int);
void window_pane_send_resize(struct window_pane *, u_int, u_int);
int window_zoom(struct window_pane *);
-int window_unzoom(struct window *);
+int window_unzoom(struct window *, int);
int window_push_zoom(struct window *, int, int);
int window_pop_zoom(struct window *);
void window_lost_pane(struct window *, struct window_pane *);