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
This commit is contained in:
Nicholas Marriott
2010-12-06 21:57:56 +00:00
parent 7a0468c95c
commit e75187310d
3 changed files with 7 additions and 11 deletions

7
tmux.h
View File

@ -1,4 +1,4 @@
/* $Id: tmux.h,v 1.583 2010-12-06 21:50:24 nicm Exp $ */
/* $Id: tmux.h,v 1.584 2010-12-06 21:57:56 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@ -841,9 +841,8 @@ struct window {
int flags;
#define WINDOW_BELL 0x1
#define WINDOW_HIDDEN 0x2
#define WINDOW_ACTIVITY 0x4
#define WINDOW_REDRAW 0x8
#define WINDOW_ACTIVITY 0x2
#define WINDOW_REDRAW 0x4
struct options options;