summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/tmux.h
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2014-04-17 09:13:13 +0000
committernicm <nicm@openbsd.org>2014-04-17 09:13:13 +0000
commite2f09fc8cd53ff4e1843a1d7b16b6c2bc87e41fb (patch)
tree82b699bb08cc457646a2e8b68ae0de4c60c16419 /usr.bin/tmux/tmux.h
parentIt's been a quarter century: we can assume volatile is present with that name. (diff)
downloadwireguard-openbsd-e2f09fc8cd53ff4e1843a1d7b16b6c2bc87e41fb.tar.xz
wireguard-openbsd-e2f09fc8cd53ff4e1843a1d7b16b6c2bc87e41fb.zip
Correct the dance to fix the active pane in join-pane by pulling the
(right) code from break-pane and window_remove_pane into a helper function.
Diffstat (limited to 'usr.bin/tmux/tmux.h')
-rw-r--r--usr.bin/tmux/tmux.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h
index 4c776082b30..2eb13043957 100644
--- a/usr.bin/tmux/tmux.h
+++ b/usr.bin/tmux/tmux.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: tmux.h,v 1.452 2014/04/17 07:55:43 nicm Exp $ */
+/* $OpenBSD: tmux.h,v 1.453 2014/04/17 09:13:13 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -2138,6 +2138,7 @@ struct window_pane *window_add_pane(struct window *, u_int);
void window_resize(struct window *, u_int, u_int);
int window_zoom(struct window_pane *);
int window_unzoom(struct window *);
+void window_lost_pane(struct window *, struct window_pane *);
void window_remove_pane(struct window *, struct window_pane *);
struct window_pane *window_pane_at_index(struct window *, u_int);
struct window_pane *window_pane_next_by_number(struct window *,