When moving winlinks between sessions, honour the renumber-windows session
option if it is set.
---
server-fn.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/server-fn.c b/server-fn.c
index 71745d7..984caca 100644
--- a/server-fn.c
+++ b/server-fn.c
@@ -351,6 +351,11 @@ server_unlink_window(struct session *s, struct winlink *wl)
server_destroy_session_group(s);
else
server_redraw_session_group(s);
+
+ /* If the winlink has moved, then honour the renumber-windows session
+ * option.
+ */
+ session_renumber_windows(s);
}
void
--
2.1.4
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
tmux-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tmux-users