Don't resize unless size changed.

This commit is contained in:
Nicholas Marriott
2007-09-21 18:00:58 +00:00
parent 8ac1d46f9b
commit 24b978adb7
2 changed files with 6 additions and 3 deletions

4
tmux.c
View File

@ -1,4 +1,4 @@
/* $Id: tmux.c,v 1.7 2007-09-20 09:43:33 nicm Exp $ */
/* $Id: tmux.c,v 1.8 2007-09-21 18:00:58 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@ -190,7 +190,7 @@ restart:
else if (op != OP_LIST) {
if (server_start() != 0)
errx(1, "couldn't start server");
sleep(1);
sleep(1); /* XXX this sucks */
}
} else {
if (!S_ISSOCK(sb.st_mode))