summaryrefslogtreecommitdiffstats
path: root/resize.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2010-12-06 21:57:56 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2010-12-06 21:57:56 +0000
commite75187310d1d8f839de997ac3f074a7adc657276 (patch)
treea1f817fcf0302d58c2a254544df8f58159ac864c /resize.c
parent7a0468c95c58d91795630f204cab8362ffd44ed2 (diff)
PatchSet 789
Date: 2010/11/22 21:13:13 Author: nicm Branch: HEAD Tag: (none) Log: There is somewhere that WINDOW_HIDDEN is getting set when it shouldn't be and I can't find it, but the flag itself is a useless optimisation that only applies to automatic-resize windows, so just dispose of it entirely. Fixes problems reported by Nicholas Riley. Members: resize.c:1.5->1.6 tmux.h:1.246->1.247 tty.c:1.92->1.93
Diffstat (limited to 'resize.c')
-rw-r--r--resize.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/resize.c b/resize.c
index 11036d92..06899ce2 100644
--- a/resize.c
+++ b/resize.c
@@ -1,4 +1,4 @@
-/* $Id: resize.c,v 1.25 2010-06-22 23:26:18 tcunha Exp $ */
+/* $Id: resize.c,v 1.26 2010-12-06 21:57:56 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -113,11 +113,8 @@ recalculate_sizes(void)
ssy = s->sy;
}
}
- if (ssx == UINT_MAX || ssy == UINT_MAX) {
- w->flags |= WINDOW_HIDDEN;
+ if (ssx == UINT_MAX || ssy == UINT_MAX)
continue;
- }
- w->flags &= ~WINDOW_HIDDEN;
limit = options_get_number(&w->options, "force-width");
if (limit != 0 && ssx > limit)