=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/window.c,v retrieving revision 1.141 retrieving revision 1.142 diff -c -r1.141 -r1.142 *** src/usr.bin/tmux/window.c 2015/08/29 00:29:15 1.141 --- src/usr.bin/tmux/window.c 2015/08/29 00:39:18 1.142 *************** *** 1,4 **** ! /* $OpenBSD: window.c,v 1.141 2015/08/29 00:29:15 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott --- 1,4 ---- ! /* $OpenBSD: window.c,v 1.142 2015/08/29 00:39:18 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott *************** *** 1066,1072 **** if ((s = wp->mode->init(wp)) != NULL) wp->screen = s; ! wp->flags |= PANE_REDRAW; return (0); } --- 1066,1072 ---- if ((s = wp->mode->init(wp)) != NULL) wp->screen = s; ! wp->flags |= (PANE_REDRAW|PANE_CHANGED); return (0); } *************** *** 1080,1086 **** wp->mode = NULL; wp->screen = &wp->base; ! wp->flags |= PANE_REDRAW; } void --- 1080,1086 ---- wp->mode = NULL; wp->screen = &wp->base; ! wp->flags |= (PANE_REDRAW|PANE_CHANGED); } void