Revert "Add a B flag to mark windows bigger than the client."

This reverts commit b4e74f4310.
This commit is contained in:
Nicholas Marriott
2018-09-26 16:42:29 +01:00
parent 6abb62df1e
commit 04c6db2d0f
5 changed files with 8 additions and 11 deletions

View File

@ -58,7 +58,6 @@ static void
cmd_select_pane_redraw(struct window *w)
{
struct client *c;
struct window *loop;
/*
* Redraw entire window if it is bigger than the client (the
@ -68,15 +67,15 @@ cmd_select_pane_redraw(struct window *w)
TAILQ_FOREACH(c, &clients, entry) {
if (c->session == NULL)
continue;
loop = c->session->curw->window;
if (loop == w && tty_window_bigger(&c->tty, w))
if (c->session->curw->window == w && tty_window_bigger(&c->tty))
server_redraw_client(c);
else {
if (loop == w)
if (c->session->curw->window == w)
c->flags |= CLIENT_REDRAWBORDERS;
if (session_has(c->session, w))
c->flags |= CLIENT_REDRAWSTATUS;
}
}
}