mirror of
https://github.com/tmux/tmux.git
synced 2025-09-03 06:17:04 +00:00
Adjust $TMUX environ var to include session index, and don't compact session list on release. Also fix some argument types.
This commit is contained in:
4
server.c
4
server.c
@ -1,4 +1,4 @@
|
||||
/* $Id: server.c,v 1.14 2007-09-26 18:09:23 nicm Exp $ */
|
||||
/* $Id: server.c,v 1.15 2007-09-27 09:15:58 nicm Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
|
||||
@ -321,6 +321,8 @@ server_lost_window(struct window *w)
|
||||
u_int i, j;
|
||||
int destroyed;
|
||||
|
||||
log_debug("lost window %d", w->fd);
|
||||
|
||||
for (i = 0; i < ARRAY_LENGTH(&sessions); i++) {
|
||||
s = ARRAY_ITEM(&sessions, i);
|
||||
if (s == NULL)
|
||||
|
Reference in New Issue
Block a user