diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2015-04-19 21:46:53 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2015-04-19 21:46:53 +0000 |
commit | afa56fdf668fe73ecdeed3f74473dec5b52e196b (patch) | |
tree | a99d3d85731effa14882e94e872810da48314d9e | |
parent | 68c2616c45d126c97295bff8430d37e93eef75c4 (diff) |
Honour renumber-windows when unlinking a window, from Thomas Adam.
-rw-r--r-- | usr.bin/tmux/server-fn.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/tmux/server-fn.c b/usr.bin/tmux/server-fn.c index 335eacf6374..6d8e417184f 100644 --- a/usr.bin/tmux/server-fn.c +++ b/usr.bin/tmux/server-fn.c @@ -1,4 +1,4 @@ -/* $OpenBSD: server-fn.c,v 1.80 2015/04/19 21:34:21 nicm Exp $ */ +/* $OpenBSD: server-fn.c,v 1.81 2015/04/19 21:46:52 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -351,6 +351,7 @@ server_unlink_window(struct session *s, struct winlink *wl) server_destroy_session_group(s); else server_redraw_session_group(s); + session_renumber_windows(s); } void |