artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e048bb7
)
Honour renumber-windows when unlinking a window, from Thomas Adam.
author
nicm
<nicm@openbsd.org>
Sun, 19 Apr 2015 21:46:52 +0000
(21:46 +0000)
committer
nicm
<nicm@openbsd.org>
Sun, 19 Apr 2015 21:46:52 +0000
(21:46 +0000)
usr.bin/tmux/server-fn.c
patch
|
blob
|
history
diff --git
a/usr.bin/tmux/server-fn.c
b/usr.bin/tmux/server-fn.c
index
335eacf
..
6d8e417
100644
(file)
--- a/
usr.bin/tmux/server-fn.c
+++ b/
usr.bin/tmux/server-fn.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: server-fn.c,v 1.8
0 2015/04/19 21:34:21
nicm Exp $ */
+/* $OpenBSD: server-fn.c,v 1.8
1 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