Sync OpenBSD patchset 724:

Having a list of winlinks->alerts for each session is stupid, just store
the alert flags directly in the winlink itself.
This commit is contained in:
Tiago Cunha
2010-06-22 23:26:18 +00:00
parent 6c76724201
commit 47b335dee7
8 changed files with 86 additions and 188 deletions

View File

@ -1,4 +1,4 @@
/* $Id: resize.c,v 1.24 2009-09-25 17:47:42 tcunha Exp $ */
/* $Id: resize.c,v 1.25 2010-06-22 23:26:18 tcunha Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@ -105,7 +105,7 @@ recalculate_sizes(void)
if (flag)
has = s->curw->window == w;
else
has = session_has(s, w);
has = session_has(s, w) != NULL;
if (has) {
if (s->sx < ssx)
ssx = s->sx;