mirror of
https://github.com/tmux/tmux.git
synced 2025-09-03 06:17:04 +00:00
Revert "Add a B flag to mark windows bigger than the client."
This reverts commit b4e74f4310
.
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user