summaryrefslogtreecommitdiffstats
path: root/server.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2007-09-27 09:15:58 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2007-09-27 09:15:58 +0000
commit3fa8f1636486420b9f27b129dbd0f36015d4c24b (patch)
treec018e47c9eb2d78f518a941e7cd87ebe2eb63ab9 /server.c
parent187648e8d1d6bc80113e829d7895e1c81ddd3c17 (diff)
Adjust $TMUX environ var to include session index, and don't compact session list on release. Also fix some argument types.
Diffstat (limited to 'server.c')
-rw-r--r--server.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/server.c b/server.c
index 814739c3..fb746250 100644
--- a/server.c
+++ b/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)