mirror of
https://github.com/tmux/tmux.git
synced 2025-09-04 23:56:58 +00:00
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:
4
resize.c
4
resize.c
@ -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;
|
||||
|
Reference in New Issue
Block a user